XOOPS Docs - XOOPS
[ class tree: XOOPS ] [ index: XOOPS ] [ all elements ]

Class: SaxParser

Source Location: /class/xml/saxparser.php

Class Overview


*****************************************************************************


Variables

Methods


Child classes:

XoopsXmlRpcParser
Class RSS Parser
XoopsXmlRss2Parser
*****************************************************************************
XoopsThemeSetParser
*****************************************************************************

Class Details

[line 16]
*****************************************************************************

*****************************************************************************




[ Top ]


Class Variables

$errors = array()

[line 33]


Type:   mixed


[ Top ]

$isCaseFolding =

[line 21]


Type:   mixed


[ Top ]

$level =

[line 18]


Type:   mixed


[ Top ]

$parser =

[line 19]


Type:   mixed


[ Top ]

$tagHandlers = array()

[line 25]


Type:   mixed


[ Top ]

$tags = array()

[line 28]


Type:   mixed


[ Top ]

$targetEncoding =

[line 22]


Type:   mixed


[ Top ]

$xmlInput =

[line 31]


Type:   mixed


[ Top ]



Class Methods


constructor SaxParser [line 41]

SaxParser SaxParser( &$input)

**************************************************************************

**************************************************************************




Parameters:

   &$input  

[ Top ]

method addTagHandler [line 193]

void ************************************************************************** addTagHandler( $tagName &$tagHandler, $functionName 1)

**************************************************************************



Parameters:

$functionName   1   string. The name of the function in XmlDocument's
$tagName   &$tagHandler   string. The name of the tag currently being parsed.

[ Top ]

method free [line 159]

void ************************************************************************** free( )

**************************************************************************



[ Top ]

method getCurrentLevel [line 62]

void getCurrentLevel( )



[ Top ]

method getCurrentTag [line 110]

string ************************************************************************** getCurrentTag( )

**************************************************************************



[ Top ]

method getErrors [line 357]

mixed &getErrors( [$ashtml $ashtml = true])

Gets all the error messages



Parameters:

$ashtml   $ashtml   bool return as html?

[ Top ]

method getParentTag [line 115]

void getParentTag( )



[ Top ]

method getXmlError [line 175]

string ************************************************************************** getXmlError( )

**************************************************************************



Tags:

private:  


[ Top ]

method handleBeginElement [line 220]

void ************************************************************************** handleBeginElement( $parser $parser, $tagName $tagName, $attributesArray $attributesArray)

**************************************************************************



Tags:

private:  


Parameters:

$parser   $parser   int. The handle to the parser.
$tagName   $tagName   string. The name of the tag currently being parsed.
$attributesArray   $attributesArray   attay. The list of attributes associated with

[ Top ]

method handleBeginElementDefault [line 319]

void handleBeginElementDefault( $parser, $tagName, $attributesArray)

The default tag handler method for a tag with no handler



Tags:

abstract:  


Parameters:

   $parser  
   $tagName  
   $attributesArray  

[ Top ]

method handleCharacterData [line 257]

void ************************************************************************** handleCharacterData( $parser $parser, $data $data)

**************************************************************************



Parameters:

$parser   $parser   int. The handle to the parser.
$data   $data   string. Character data inside the tag

[ Top ]

method handleCharacterDataDefault [line 337]

void handleCharacterDataDefault( $parser, $data)

The default tag handler method for a tag with no handler



Tags:

abstract:  


Parameters:

   $parser  
   $data  

[ Top ]

method handleDefault [line 282]

void ************************************************************************** handleDefault( $parser $parser, $data)

**************************************************************************



Parameters:

$parser   $parser   int. The handle to the parser.
   $data  

[ Top ]

method handleEndElement [line 239]

void ************************************************************************** handleEndElement( $parser $parser, $tagName $tagName)

**************************************************************************



Tags:

private:  


Parameters:

$parser   $parser   int. The handle to the parser.
$tagName   $tagName   string. The name of the tag currently being parsed.

[ Top ]

method handleEndElementDefault [line 328]

void handleEndElementDefault( $parser, $tagName)

The default tag handler method for a tag with no handler



Tags:

abstract:  


Parameters:

   $parser  
   $tagName  

[ Top ]

method handleExternalEntityRef [line 309]

void ************************************************************************** handleExternalEntityRef( $parser $parser, $openEntityNames, $base, $systemId, $publicId)

**************************************************************************



Parameters:

$parser   $parser   int. The handle to the parser.
   $openEntityNames  
   $base  
   $systemId  
   $publicId  

[ Top ]

method handleNotationDecl [line 300]

void ************************************************************************** handleNotationDecl( $parser $parser, $notationName, $base, $systemId, $publicId)

**************************************************************************



Parameters:

$parser   $parser   int. The handle to the parser.
   $notationName  
   $base  
   $systemId  
   $publicId  

[ Top ]

method handleProcessingInstruction [line 271]

void ************************************************************************** handleProcessingInstruction( $parser $parser, &$target, &$data)

**************************************************************************



Parameters:

$parser   $parser   int. The handle to the parser.
   &$target  
   &$data  

[ Top ]

method handleUnparsedEntityDecl [line 291]

void ************************************************************************** handleUnparsedEntityDecl( $parser $parser, $entityName, $base, $systemId, $publicId, $notationName)

**************************************************************************



Parameters:

$parser   $parser   int. The handle to the parser.
   $entityName  
   $base  
   $systemId  
   $publicId  
   $notationName  

[ Top ]

method parse [line 132]

void ************************************************************************** parse( )

**************************************************************************



[ Top ]

method setCaseFolding [line 71]

void ************************************************************************** setCaseFolding( $isCaseFolding $isCaseFolding)

**************************************************************************



Parameters:

$isCaseFolding   $isCaseFolding  

[ Top ]

method setErrors [line 346]

void setErrors( $error $error)

Sets error messages



Parameters:

$error   $error   string an error message

[ Top ]

method useAsciiEncoding [line 91]

void ************************************************************************** useAsciiEncoding( )

**************************************************************************



[ Top ]

method useIsoEncoding [line 82]

void ************************************************************************** useIsoEncoding( )

**************************************************************************



[ Top ]

method useUtfEncoding [line 100]

void ************************************************************************** useUtfEncoding( )

**************************************************************************



[ Top ]


XOOPS Docs generated by phpDocumentor