(No version information available, might only be in SVN)
简介
Represents an element in an XML document.
类摘要
SimpleXMLElement
implements
Traversable
{
final public __construct
(
string $data
[,
int $options
= 0
[,
bool $data_is_url
= false
[,
string $ns
= ""
[,
bool $is_prefix
= false
]]]] )
public void addAttribute
(
string $name
[,
string $value
[,
string $namespace
]] )
public SimpleXMLElement addChild
(
string $name
[,
string $value
[,
string $namespace
]] )
public mixed asXML
([
string $filename
] )
public SimpleXMLElement attributes
([
string $ns
= NULL
[,
bool $is_prefix
= false
]] )
public SimpleXMLElement children
([
string $ns
[,
bool $is_prefix
= false
]] )
public int count
(
void
)
public array xpath
(
string $path
)
}