GalleryXmlProcessor GalleryXmlProcessor(
$rootElement
)
|
|
Parameters:
This method releases the php parser.
Information Tags:
Todo: | After PHP 4.x.x then change to a __destruct and change the call to an unset() |
boolean xmlParse(
string
$data, boolean
$isFinal
)
|
|
Parses the data buffer.
Parameters:
string |
$data: |
The buffer of data to parse. |
boolean |
$isFinal: |
Flag to indicate if this is the final buffer of data. |
API Tags:
Return: | Returns true on success. |
void _processCData(
&$parser, string
$cdata, object
$parser
)
|
|
XML Callback to process CDATA elements. Called by the PHP Xml parser
Parameters:
object |
$parser: |
A reference to the php parser |
string |
$cdata: |
A buffer of data that represents the body of the xml element |
|
&$parser: |
|
API Tags:
void _processEndElement(
&$parser, string
$tag, object
$parser
)
|
|
XML Callback to process end elements. Called by the PHP Xml parser
Parameters:
object |
$parser: |
A reference to the php parser |
string |
$tag: |
The name of the tage being processed |
|
&$parser: |
|
API Tags:
void _processStartElement(
&$parser, string
$tag, array
$attributes, object
$parser
)
|
|
XML Callback to process start elements. Called by the PHP Xml parser
Parameters:
object |
$parser: |
A reference to the php parser |
string |
$tag: |
The name of the tage being processed |
array |
$attributes: |
The attributes that were present on the xml element. |
|
&$parser: |
|
API Tags: