public
|
|
public
|
|
public
|
|
public
boolean
|
#
isBool( string $tag )
check value of tag is an boolean
check value of tag is an boolean
Parameters
Returns
boolean
|
public
boolean
|
|
public
boolean
|
|
public
string
|
#
parseTags( string $tag, integer $pos = 1 )
Parameters
Returns
string
|
public
|
#
changeTags( string $tag, string $val, integer $pos = 1 )
|
public
string
|
#
parseTag( string $tag, integer $tpos = 1, boolean $cdata = false, boolean $asISO8859 = false )
get value of single tag
Parameters
- $tag
- $tpos
- $pos
- $cdata
- $asISO8859
Returns
string
|
public
string
|
#
parsePara( string $tag, string $para, integer $tpos = 1 )
get value of tag parameter
get value of tag parameter
Parameters
Returns
string
|
public
|
#
changeTag( string $tag, string $val, integer $pos = 1 )
|
public
boolean
|
#
setXML( string $xml, boolean $autoAddDefTagIfMissing = false )
set a XML string to the object
set a XML string to the object
Parameters
- $xml
- $autoAddDefTagIfMissing
- "<?xml ..." if missing
Returns
boolean
|
public
string
|
#
getXML( boolean $withoutDefTag = false )
Parameters
Returns
string
|
public
integer
|
|
public
|
|
public
|
#
openTag( string $tag, array $parameters = null, boolean $emptyElement = false, boolean $utf8trans = true, boolean $enc_umlaute = true )
Parameters
- $tag
- $parameters
- like array('attribute'=>'value');
- $emptyElement
- for a XML Tag without inner value closed by />
- $utf8trans
- $enc_umlaute
|
public
|
|
public
|
#
addTag( string $tag, string $val, boolean $cdata = false, boolean $utf8trans = true, boolean $enc_umlaute = true, array $parameters = null, boolean $fixTextNodeIfTagHasParameters = true )
add a single tag
Parameters
- $tag
- $val
- $cdata
- $utf8trans
- $enc_umlaute
- $parameters
- $fixTextNodeIfTagHasParameters
- set it only to false for special XML, standard XML libs like libxml, otherwise get problems too parsing correctly
|
public
|
|