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

Class: XML_SaxFilters_ExpatParser

Source Location: /XML_SaxFilters-0.3.0/SaxFilters/ExpatParser.php

Class Overview

XML_SaxFilters_AbstractParser
   |
   --XML_SaxFilters_ExpatParser

ExpatParser for the native PHP SAX XML extension


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: XML_SaxFilters_AbstractParser

XML_SaxFilters_AbstractParser::XML_SaxFilters_AbstractParser()
Constructs AbstractParser
XML_SaxFilters_AbstractParser::close()
Sax end element handler
XML_SaxFilters_AbstractParser::data()
Sax character data handler
XML_SaxFilters_AbstractParser::endDoc()
Handler called when parsing finishes
XML_SaxFilters_AbstractParser::getError()
Returns the error if there are any.
XML_SaxFilters_AbstractParser::open()
Sax start element handler
XML_SaxFilters_AbstractParser::pi()
Sax processing instruction handler
XML_SaxFilters_AbstractParser::setChild()
Sets the child
XML_SaxFilters_AbstractParser::startDoc()
Handler called when parsing begins
XML_SaxFilters_AbstractParser::unsetChild()
Unsets the child

Class Details

[line 38]
ExpatParser for the native PHP SAX XML extension
  • Access: public


[ Top ]


Method Detail

XML_SaxFilters_ExpatParser (Constructor)   [line 54]

XML_SaxFilters_ExpatParser XML_SaxFilters_ExpatParser( object class &$reader)

Constructs ExpatParser

Note: modify the buffer for large documents


Parameters:

object class   &$reader   —  implementing ReaderInterface

[ Top ]

parse   [line 81]

boolean parse( )

Parse the XML stream
  • Return: TRUE on successful parsing. Use getError if FALSE
  • Access: public

[ Top ]

parserSetOption   [line 71]

void parserSetOption( string $opt, string $val)

Sets a Sax parser option
  • Access: public

Parameters:

string   $opt   —  option name
string   $val   —  option value

[ Top ]


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