XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
GeneralXmlParser Class Reference

Public Member Functions

 parse ($input= '')
 
 _tagOpen ($parser, $node_name, $attrs)
 
 _tagBody ($parser, $body)
 
 _tagClosed ($parser, $node_name)
 

Public Attributes

 $output = array()
 

Detailed Description

Definition at line 11 of file GeneralXmlParser.class.php.

Member Function Documentation

GeneralXmlParser::_tagBody (   $parser,
  $body 
)

Character data handler Variable in the last element of this->output

Parameters
resource$parsean instance of parser
string$bodya data to be added
Returns
void

Definition at line 68 of file GeneralXmlParser.class.php.

GeneralXmlParser::_tagClosed (   $parser,
  $node_name 
)

End element handler

Parameters
resource$parsean instance of parser
string$node_namename of xml node
Returns
void

Definition at line 80 of file GeneralXmlParser.class.php.

GeneralXmlParser::_tagOpen (   $parser,
  $node_name,
  $attrs 
)

Start element handler

Parameters
resource$parseran instance of parser
string$node_namea name of node
array$attrsattributes to be set
Returns
void

Definition at line 51 of file GeneralXmlParser.class.php.

GeneralXmlParser::parse (   $input = '')

Parse a given input to product a object containing parse values.

Parameters
string$inputdata to be parsed
Returns
array|NULL Returns an object containing parsed values or NULL in case of failure

Definition at line 25 of file GeneralXmlParser.class.php.

Member Data Documentation

GeneralXmlParser::$output = array()

Definition at line 18 of file GeneralXmlParser.class.php.


The documentation for this class was generated from the following file: