XOOPS 2.5.6
Final
|
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 | |
Definition at line 16 of file saxparser.php.
SaxParser::addTagHandler | ( | & | $tagHandler | ) |
Definition at line 193 of file saxparser.php.
Referenced by XoopsXmlRpcParser\XoopsXmlRpcParser(), and XoopsXmlRss2Parser\XoopsXmlRss2Parser().
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().
SaxParser::getCurrentTag | ( | ) |
Definition at line 110 of file saxparser.php.
Referenced by handleCharacterData().
& SaxParser::getErrors | ( | $ashtml = true | ) |
Gets all the error messages
$ashtml | bool return as html? |
Definition at line 357 of file saxparser.php.
SaxParser::getParentTag | ( | ) |
Definition at line 115 of file saxparser.php.
SaxParser::getXmlError | ( | ) |
Definition at line 175 of file saxparser.php.
Referenced by parse().
SaxParser::handleBeginElement | ( | $parser, | |
$tagName, | |||
$attributesArray | |||
) |
Definition at line 220 of file saxparser.php.
References $parser, and handleBeginElementDefault().
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().
SaxParser::handleCharacterData | ( | $parser, | |
$data | |||
) |
Definition at line 257 of file saxparser.php.
References $parser, getCurrentTag(), and handleCharacterDataDefault().
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().
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().
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().
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().
SaxParser::SaxParser | ( | & | $input | ) |
Definition at line 41 of file saxparser.php.
References setCaseFolding(), and useUtfEncoding().
Referenced by XoopsXmlRpcParser\XoopsXmlRpcParser(), and XoopsXmlRss2Parser\XoopsXmlRss2Parser().
SaxParser::setCaseFolding | ( | $isCaseFolding | ) |
Definition at line 71 of file saxparser.php.
References $isCaseFolding.
Referenced by SaxParser().
SaxParser::setErrors | ( | $error | ) |
Sets error messages
$error | string an error message |
Definition at line 346 of file saxparser.php.
References $error.
Referenced by parse().
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().
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.