Methods | ||||
---|---|---|---|---|
public
|
__construct($input)
|
# | ||
public
|
getCurrentLevel(): int
|
# | ||
public
|
setCaseFolding($isCaseFolding)
|
# | ||
public
|
useIsoEncoding()
|
# | ||
public
|
useAsciiEncoding()
|
# | ||
public
|
useUtfEncoding()
|
# | ||
public
|
getCurrentTag()
|
# | ||
public
|
getParentTag(): bool
|
# | ||
public
|
parse()
|
# | ||
public
|
free()
|
# | ||
public
|
getXmlError()
|
# | ||
public
|
addTagHandler($tagHandler)
|
# | ||
public
|
handleBeginElement($parser, $tagName, $attributesArray)
|
# | ||
public
|
handleEndElement($parser, $tagName)
|
# | ||
public
|
handleCharacterData($parser, $data)
|
# | ||
public
|
handleProcessingInstruction($parser, &$target, &$data)
|
# | ||
public
|
handleDefault($parser, $data)
|
# | ||
public
|
handleUnparsedEntityDecl($parser, $entityName, $base, $systemId, $publicId, $notationName)
|
# | ||
public
|
handleNotationDecl($parser, $notationName, $base, $systemId, $publicId)
|
# | ||
public
|
handleExternalEntityRef($parser, $openEntityNames, $base, $systemId, $publicId)
|
# | ||
public
|
handleBeginElementDefault($parser, $tagName, $attributesArray)
The default tag handler method for a tag with no handler
The default tag handler method for a tag with no handler |
# | ||
public
|
handleEndElementDefault($parser, $tagName)
The default tag handler method for a tag with no handler
The default tag handler method for a tag with no handler |
# | ||
public
|
handleCharacterDataDefault($parser, $data)
The default tag handler method for a tag with no handler
The default tag handler method for a tag with no handler |
# | ||
public
|
setErrors(string $error)
Sets error messages
Sets error messages Parameters
|
# | ||
public
&
|
getErrors(bool $ashtml = true): mixed
Gets all the error messages
Gets all the error messages Parameters
|
# |
Properties | |||
---|---|---|---|
public
|
|
$level
|
# |
public
|
|
$parser
|
# |
public
|
|
$isCaseFolding
|
# |
public
|
|
$targetEncoding
|
# |
public
|
|
$tagHandlers = []
|
# |
public
|
|
$tags = []
|
# |
public
|
|
$xmlInput
|
# |
public
|
|
$errors = []
|
# |