XML_Parser
[ class tree: XML_Parser ] [ index: XML_Parser ] [ all elements ]

Class: myParser

Source Location: /XML_Parser-1.2.0/examples/xml_parser_file.php

Class Overview

PEAR
   |
   --XML_Parser
      |
      --myParser

XML Parser class.


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: XML_Parser

XML_Parser::XML_Parser()
Creates an XML parser.
XML_Parser::__construct()
PHP5 constructor
XML_Parser::endHandler()
XML_Parser::free()
XML_Parser::free()
XML_Parser::funcEndHandler()
XML_Parser::funcStartHandler()
XML_Parser::parse()
Central parsing function.
XML_Parser::parseString()
XML_Parser::parseString()
XML_Parser::raiseError()
XML_Parser::raiseError()
XML_Parser::reset()
Reset the parser.
XML_Parser::setHandlerObj()
Sets the object, that will handle the XML events
XML_Parser::setInput()
Sets the file handle to use with parse().
XML_Parser::setInputFile()
Sets the input xml file to be parsed
XML_Parser::setInputString()
XML_Parser::setInputString()
XML_Parser::setMode()
Sets the mode of the parser.
XML_Parser::startHandler()

Class Details

[line 15]
XML Parser class.

This is an XML parser based on PHP's "xml" extension, based on the bundled expat library.

Notes:

  • It requires PHP 4.0.4pl1 or greater
  • From revision 1.17, the function names used by the 'func' mode are in the format "xmltag_$elem", for example: use "xmltag_name" to handle the <name></name> tags of your xml file.



[ Top ]


Method Detail

myParser (Constructor)   [line 18]

myParser myParser( )


[ Top ]


Documentation generated on Mon, 11 Mar 2019 10:16:57 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.