Definition at line 38 of file XmlParser.class.php.
XmlParser::_arrToAttrsObj |
( |
|
$arr | ) |
|
XmlParser::_tagBody |
( |
|
$parser, |
|
|
|
$body |
|
) |
| |
Character data handler Variable in the last element of this->output
- Parameters
-
resource | $parse | an instance of parser |
string | $body | a data to be added |
- Returns
- void
Definition at line 175 of file XmlParser.class.php.
XmlParser::_tagClosed |
( |
|
$parser, |
|
|
|
$node_name |
|
) |
| |
End element handler
- Parameters
-
resource | $parse | an instance of parser |
string | $node_name | name of xml node |
- Returns
- void
Definition at line 187 of file XmlParser.class.php.
XmlParser::_tagOpen |
( |
|
$parser, |
|
|
|
$node_name, |
|
|
|
$attrs |
|
) |
| |
Start element handler.
- Parameters
-
resource | $parse | an instance of parser |
string | $node_name | a name of node |
array | $attrs | attributes to be set |
- Returns
- array
Definition at line 159 of file XmlParser.class.php.
XmlParser::loadXmlFile |
( |
|
$filename | ) |
|
Load a xml file specified by a filename and parse it to Return the resultant data object
- Parameters
-
string | $filename | a file path of file |
- Returns
- array Returns a data object containing data extracted from a xml file or NULL if a specified file does not exist
Definition at line 70 of file XmlParser.class.php.
XmlParser::parse |
( |
|
$input = '' , |
|
|
|
$arg1 = NULL , |
|
|
|
$arg2 = NULL |
|
) |
| |
Parse xml data to extract values from it and construct data object
- Parameters
-
string | $input | a data buffer containing xml data |
mixed | $arg1 | ??? |
mixed | $arg2 | ??? |
- Returns
- array Returns a resultant data object or NULL in case of error
Definition at line 89 of file XmlParser.class.php.
XmlParser::$oParser = NULL |
XmlParser::$output = array() |
The documentation for this class was generated from the following file: