The XMLWriter class
(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)
类摘要
class XMLWriter
{
public flush(
bool $empty
= true
):
string|int
public startAttributeNs(
?string $prefix
,
string $name
,
?string $namespace
):
bool
public startDocument(
?string $version
= "1.0",
?string $encoding
= null
,
?string $standalone
= null
):
bool
public startDtd(
string $qualifiedName
,
?string $publicId
= null
,
?string $systemId
= null
):
bool
public startElementNs(
?string $prefix
,
string $name
,
?string $namespace
):
bool
public startPi(
string $target
):
bool
public text(
string $content
):
bool
public writeAttributeNs(
?string $prefix
,
string $name
,
?string $namespace
,
string $value
):
bool
public writeDtd(
string $name
,
?string $publicId
= null
,
?string $systemId
= null
,
?string $content
= null
):
bool
public writeDtdEntity(
string $name
,
string $content
,
bool $isParam
= false
,
?string $publicId
= null
,
?string $systemId
= null
,
?string $notationData
= null
):
bool
public writeElement(
string $name
,
?string $content
= null
):
bool
public writeElementNs(
?string $prefix
,
string $name
,
?string $namespace
,
?string $content
= null
):
bool
public writePi(
string $target
,
string $content
):
bool
}
目录
There are no user contributed notes for this page.