API - XOOPS 2.5.11 Beta 2
By monxoops.fr
SaxParser Class Reference
Inheritance diagram for SaxParser:

Public Member Functions

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

Data Fields

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

Constructor & Destructor Documentation

◆ __construct()

__construct (   $input)

Reimplemented in XoopsXmlRss2Parser.

Here is the call graph for this function:

Member Function Documentation

◆ addTagHandler()

addTagHandler (   $tagHandler)
Parameters
$tagHandler
Here is the caller graph for this function:

◆ free()

free ( )

◆ getCurrentLevel()

getCurrentLevel ( )
Returns
int
Here is the caller graph for this function:

◆ getCurrentTag()

getCurrentTag ( )

◆ getErrors()

& getErrors (   $ashtml = true)

Gets all the error messages

Parameters
bool$ashtmlreturn as html?
Returns
mixed

◆ getParentTag()

getParentTag ( )
Returns
bool

◆ getXmlError()

getXmlError ( )
Here is the caller graph for this function:

◆ handleBeginElement()

handleBeginElement (   $parser,
  $tagName,
  $attributesArray 
)
Here is the call graph for this function:

◆ handleBeginElementDefault()

handleBeginElementDefault (   $parser,
  $tagName,
  $attributesArray 
)

The default tag handler method for a tag with no handler

@abstract

Parameters
$parser
$tagName
$attributesArray
Here is the caller graph for this function:

◆ handleCharacterData()

handleCharacterData (   $parser,
  $data 
)

◆ handleCharacterDataDefault()

handleCharacterDataDefault (   $parser,
  $data 
)

The default tag handler method for a tag with no handler

@abstract

Parameters
$parser
$data

◆ handleDefault()

handleDefault (   $parser,
  $data 
)

◆ handleEndElement()

handleEndElement (   $parser,
  $tagName 
)
Here is the call graph for this function:

◆ handleEndElementDefault()

handleEndElementDefault (   $parser,
  $tagName 
)

The default tag handler method for a tag with no handler

@abstract

Parameters
$parser
$tagName
Here is the caller graph for this function:

◆ handleExternalEntityRef()

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

◆ handleNotationDecl()

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

◆ handleProcessingInstruction()

handleProcessingInstruction (   $parser,
$target,
$data 
)

◆ handleUnparsedEntityDecl()

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

◆ parse()

parse ( )
Here is the call graph for this function:

◆ setCaseFolding()

setCaseFolding (   $isCaseFolding)
Here is the caller graph for this function:

◆ setErrors()

setErrors (   $error)

Sets error messages

Parameters
string$erroran error message
Here is the caller graph for this function:

◆ useAsciiEncoding()

useAsciiEncoding ( )

◆ useIsoEncoding()

useIsoEncoding ( )

◆ useUtfEncoding()

useUtfEncoding ( )
Here is the caller graph for this function:

Field Documentation

◆ $errors

$errors = array()

◆ $isCaseFolding

$isCaseFolding

◆ $level

$level

◆ $parser

$parser

◆ $tagHandlers

$tagHandlers = array()

◆ $tags

$tags = array()

◆ $targetEncoding

$targetEncoding

◆ $xmlInput

$xmlInput

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