Class ocp_simple_xml_reader

Description

Located in /sources/xml_storage.php (line 474)


	
			
Variable Summary
Method Summary
ocp_simple_xml_reader ocp_simple_xml_reader (string $xml_data)
void endElement (object The $parser)
string pull_together (array $children)
void startElement (object The $parser, string $name, array $attributes)
void startText (object The $parser, string $data)
Variables
mixed $attribute_stack (line 477)
mixed $children_stack (line 477)
mixed $error (line 479)
mixed $gleamed (line 479)
mixed $tag_stack (line 477)
mixed $text_stack (line 477)
Methods
Constructor ocp_simple_xml_reader (line 486)

Constructs the XML reader: parses the given data. Check $gleamed and $error after constructing.

ocp_simple_xml_reader ocp_simple_xml_reader (string $xml_data)
  • string $xml_data: The XML data
endElement (line 560)

Standard PHP XML parser function.

void endElement (object The $parser)
  • object The $parser: parser object (same as 'this')
pull_together (line 605)

Pull a portion of an XML tree structure back into textual XML.

  • return: The combined XML
string pull_together (array $children)
  • array $children: Level of XML tree
startElement (line 536)

Standard PHP XML parser function.

void startElement (object The $parser, string $name, array $attributes)
  • object The $parser: parser object (same as 'this')
  • string $name: The name of the element found
  • array $attributes: Array of attributes of the element
startText (line 586)

Standard PHP XML parser function.

void startText (object The $parser, string $data)
  • object The $parser: parser object (same as 'this')
  • string $data: The text

Documentation generated on Sun, 02 Jan 2011 23:29:36 +0000 by phpDocumentor 1.4.3