XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
SaxParser Class Reference
Inheritance diagram for SaxParser:
Inheritance graph

Public Member Functions

 addTagHandler (&$tagHandler)
 
 free ()
 
 getCurrentLevel ()
 
 getCurrentTag ()
 
getErrors ($ashtml=true)
 
 getParentTag ()
 
 getXmlError ()
 
 handleBeginElement ($parser, $tagName, $attributesArray)
 
 handleBeginElementDefault ($parser, $tagName, $attributesArray)
 
 handleCharacterData ($parser, $data)
 
 handleCharacterDataDefault ($parser, $data)
 
 handleDefault ($parser, $data)
 
 handleEndElement ($parser, $tagName)
 
 handleEndElementDefault ($parser, $tagName)
 
 handleExternalEntityRef ($parser, $openEntityNames, $base, $systemId, $publicId)
 
 handleNotationDecl ($parser, $notationName, $base, $systemId, $publicId)
 
 handleProcessingInstruction ($parser, &$target, &$data)
 
 handleUnparsedEntityDecl ($parser, $entityName, $base, $systemId, $publicId, $notationName)
 
 parse ()
 
 SaxParser (&$input)
 
 setCaseFolding ($isCaseFolding)
 
 setErrors ($error)
 
 useAsciiEncoding ()
 
 useIsoEncoding ()
 
 useUtfEncoding ()
 

Public Attributes

 $errors = array()
 
 $isCaseFolding
 
 $level
 
 $parser
 
 $tagHandlers = array()
 
 $tags = array()
 
 $targetEncoding
 
 $xmlInput
 

Detailed Description

Definition at line 16 of file saxparser.php.

Member Function Documentation

SaxParser::addTagHandler ( $tagHandler)

Definition at line 193 of file saxparser.php.

Referenced by XoopsXmlRpcParser\XoopsXmlRpcParser(), and XoopsXmlRss2Parser\XoopsXmlRss2Parser().

Here is the caller graph for this function:

SaxParser::free ( )

Definition at line 159 of file saxparser.php.

SaxParser::getCurrentLevel ( )

Definition at line 62 of file saxparser.php.

References $level.

Referenced by XoopsXmlRpcParser\resetTempArray(), XoopsXmlRpcParser\resetTempMember(), XoopsXmlRpcParser\resetTempStruct(), and XoopsXmlRpcParser\setWorkingLevel().

Here is the caller graph for this function:

SaxParser::getCurrentTag ( )

Definition at line 110 of file saxparser.php.

Referenced by handleCharacterData().

Here is the caller graph for this function:

& SaxParser::getErrors (   $ashtml = true)

Gets all the error messages

Parameters
$ashtmlbool return as html?
Returns
mixed

Definition at line 357 of file saxparser.php.

References $error, $errors, and $ret.

SaxParser::getParentTag ( )

Definition at line 115 of file saxparser.php.

SaxParser::getXmlError ( )

Definition at line 175 of file saxparser.php.

Referenced by parse().

Here is the caller graph for this function:

SaxParser::handleBeginElement (   $parser,
  $tagName,
  $attributesArray 
)

Definition at line 220 of file saxparser.php.

References $parser, and handleBeginElementDefault().

Here is the call graph for this function:

SaxParser::handleBeginElementDefault (   $parser,
  $tagName,
  $attributesArray 
)

The default tag handler method for a tag with no handler

Definition at line 319 of file saxparser.php.

Referenced by handleBeginElement().

Here is the caller graph for this function:

SaxParser::handleCharacterData (   $parser,
  $data 
)

Definition at line 257 of file saxparser.php.

References $parser, getCurrentTag(), and handleCharacterDataDefault().

Here is the call graph for this function:

SaxParser::handleCharacterDataDefault (   $parser,
  $data 
)

The default tag handler method for a tag with no handler

Definition at line 337 of file saxparser.php.

Referenced by handleCharacterData().

Here is the caller graph for this function:

SaxParser::handleDefault (   $parser,
  $data 
)

Definition at line 282 of file saxparser.php.

SaxParser::handleEndElement (   $parser,
  $tagName 
)

Definition at line 239 of file saxparser.php.

References $parser, and handleEndElementDefault().

Here is the call graph for this function:

SaxParser::handleEndElementDefault (   $parser,
  $tagName 
)

The default tag handler method for a tag with no handler

Definition at line 328 of file saxparser.php.

Referenced by handleEndElement().

Here is the caller graph for this function:

SaxParser::handleExternalEntityRef (   $parser,
  $openEntityNames,
  $base,
  $systemId,
  $publicId 
)

Definition at line 309 of file saxparser.php.

SaxParser::handleNotationDecl (   $parser,
  $notationName,
  $base,
  $systemId,
  $publicId 
)

Definition at line 300 of file saxparser.php.

SaxParser::handleProcessingInstruction (   $parser,
$target,
$data 
)

Definition at line 271 of file saxparser.php.

SaxParser::handleUnparsedEntityDecl (   $parser,
  $entityName,
  $base,
  $systemId,
  $publicId,
  $notationName 
)

Definition at line 291 of file saxparser.php.

SaxParser::parse ( )

Definition at line 132 of file saxparser.php.

References getXmlError(), and setErrors().

Here is the call graph for this function:

SaxParser::SaxParser ( $input)

Definition at line 41 of file saxparser.php.

References setCaseFolding(), and useUtfEncoding().

Referenced by XoopsXmlRpcParser\XoopsXmlRpcParser(), and XoopsXmlRss2Parser\XoopsXmlRss2Parser().

Here is the call graph for this function:

Here is the caller graph for this function:

SaxParser::setCaseFolding (   $isCaseFolding)

Definition at line 71 of file saxparser.php.

References $isCaseFolding.

Referenced by SaxParser().

Here is the caller graph for this function:

SaxParser::setErrors (   $error)

Sets error messages

Parameters
$errorstring an error message

Definition at line 346 of file saxparser.php.

References $error.

Referenced by parse().

Here is the caller graph for this function:

SaxParser::useAsciiEncoding ( )

Definition at line 91 of file saxparser.php.

SaxParser::useIsoEncoding ( )

Definition at line 82 of file saxparser.php.

SaxParser::useUtfEncoding ( )

Definition at line 100 of file saxparser.php.

Referenced by SaxParser(), and XoopsXmlRss2Parser\XoopsXmlRss2Parser().

Here is the caller graph for this function:

Member Data Documentation

SaxParser::$errors = array()

Definition at line 33 of file saxparser.php.

Referenced by getErrors().

SaxParser::$isCaseFolding

Definition at line 21 of file saxparser.php.

Referenced by setCaseFolding().

SaxParser::$level

Definition at line 18 of file saxparser.php.

Referenced by getCurrentLevel().

SaxParser::$parser

Definition at line 19 of file saxparser.php.

Referenced by handleBeginElement(), handleCharacterData(), and handleEndElement().

SaxParser::$tagHandlers = array()

Definition at line 25 of file saxparser.php.

SaxParser::$tags = array()

Definition at line 28 of file saxparser.php.

SaxParser::$targetEncoding

Definition at line 22 of file saxparser.php.

SaxParser::$xmlInput

Definition at line 31 of file saxparser.php.


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