php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
XMLWriter Class Reference

Public Member Functions

 openUri (string $uri)
 
 openMemory ()
 
 setIndent (bool $enable)
 
 setIndentString (string $indentation)
 
 startComment ()
 
 endComment ()
 
 startAttribute (string $name)
 
 endAttribute ()
 
 writeAttribute (string $name, string $value)
 
 startAttributeNs (?string $prefix, string $name, ?string $namespace)
 
 writeAttributeNs (?string $prefix, string $name, ?string $namespace, string $value)
 
 startElement (string $name)
 
 endElement ()
 
 fullEndElement ()
 
 startElementNs (?string $prefix, string $name, ?string $namespace)
 
 writeElement (string $name, ?string $content=null)
 
 writeElementNs (?string $prefix, string $name, ?string $namespace, ?string $content=null)
 
 startPi (string $target)
 
 endPi ()
 
 writePi (string $target, string $content)
 
 startCdata ()
 
 endCdata ()
 
 writeCdata (string $content)
 
 text (string $content)
 
 writeRaw (string $content)
 
 startDocument (?string $version="1.0", ?string $encoding=null, ?string $standalone=null)
 
 endDocument ()
 
 writeComment (string $content)
 
 startDtd (string $qualifiedName, ?string $publicId=null, ?string $systemId=null)
 
 endDtd ()
 
 writeDtd (string $name, ?string $publicId=null, ?string $systemId=null, ?string $content=null)
 
 startDtdElement (string $qualifiedName)
 
 endDtdElement ()
 
 writeDtdElement (string $name, string $content)
 
 startDtdAttlist (string $name)
 
 endDtdAttlist ()
 
 writeDtdAttlist (string $name, string $content)
 
 startDtdEntity (string $name, bool $isParam)
 
 endDtdEntity ()
 
 writeDtdEntity (string $name, string $content, bool $isParam=false, ?string $publicId=null, ?string $systemId=null, ?string $notationData=null)
 
 outputMemory (bool $flush=true)
 
 flush (bool $empty=true)
 

Static Public Member Functions

static toUri (string $uri)
 
static toMemory ()
 
static toStream ($stream)
 

Detailed Description

Definition at line 89 of file php_xmlwriter.stub.php.

Member Function Documentation

◆ endAttribute()

XMLWriter::endAttribute ( )

@tentative-return-type @alias xmlwriter_end_attribute

Definition at line 146 of file php_xmlwriter.stub.php.

◆ endCdata()

XMLWriter::endCdata ( )

@tentative-return-type @alias xmlwriter_end_cdata

Definition at line 230 of file php_xmlwriter.stub.php.

◆ endComment()

XMLWriter::endComment ( )

@tentative-return-type @alias xmlwriter_end_comment

Definition at line 134 of file php_xmlwriter.stub.php.

◆ endDocument()

XMLWriter::endDocument ( )

@tentative-return-type @alias xmlwriter_end_document

Definition at line 260 of file php_xmlwriter.stub.php.

◆ endDtd()

XMLWriter::endDtd ( )

@tentative-return-type @alias xmlwriter_end_dtd

Definition at line 278 of file php_xmlwriter.stub.php.

◆ endDtdAttlist()

XMLWriter::endDtdAttlist ( )

@tentative-return-type @alias xmlwriter_end_dtd_attlist

Definition at line 314 of file php_xmlwriter.stub.php.

◆ endDtdElement()

XMLWriter::endDtdElement ( )

@tentative-return-type @alias xmlwriter_end_dtd_element

Definition at line 296 of file php_xmlwriter.stub.php.

◆ endDtdEntity()

XMLWriter::endDtdEntity ( )

@tentative-return-type @alias xmlwriter_end_dtd_entity

Definition at line 332 of file php_xmlwriter.stub.php.

◆ endElement()

XMLWriter::endElement ( )

@tentative-return-type @alias xmlwriter_end_element

Definition at line 176 of file php_xmlwriter.stub.php.

◆ endPi()

XMLWriter::endPi ( )

@tentative-return-type @alias xmlwriter_end_pi

Definition at line 212 of file php_xmlwriter.stub.php.

◆ flush()

XMLWriter::flush ( bool $empty = true)

@tentative-return-type @alias xmlwriter_flush

Definition at line 350 of file php_xmlwriter.stub.php.

◆ fullEndElement()

XMLWriter::fullEndElement ( )

@tentative-return-type @alias xmlwriter_full_end_element

Definition at line 182 of file php_xmlwriter.stub.php.

◆ openMemory()

XMLWriter::openMemory ( )

@tentative-return-type @alias xmlwriter_open_memory @no-verify Behaviour differs from the aliased function

Definition at line 105 of file php_xmlwriter.stub.php.

◆ openUri()

XMLWriter::openUri ( string $uri)

@tentative-return-type @alias xmlwriter_open_uri @no-verify Behaviour differs from the aliased function

Definition at line 96 of file php_xmlwriter.stub.php.

◆ outputMemory()

XMLWriter::outputMemory ( bool $flush = true)

@tentative-return-type @alias xmlwriter_output_memory

Definition at line 344 of file php_xmlwriter.stub.php.

◆ setIndent()

XMLWriter::setIndent ( bool $enable)

@tentative-return-type @alias xmlwriter_set_indent

Definition at line 116 of file php_xmlwriter.stub.php.

◆ setIndentString()

XMLWriter::setIndentString ( string $indentation)

@tentative-return-type @alias xmlwriter_set_indent_string

Definition at line 122 of file php_xmlwriter.stub.php.

◆ startAttribute()

XMLWriter::startAttribute ( string $name)

@tentative-return-type @alias xmlwriter_start_attribute

Definition at line 140 of file php_xmlwriter.stub.php.

◆ startAttributeNs()

XMLWriter::startAttributeNs ( ?string $prefix,
string $name,
?string $namespace )

@tentative-return-type @alias xmlwriter_start_attribute_ns

Definition at line 158 of file php_xmlwriter.stub.php.

◆ startCdata()

XMLWriter::startCdata ( )

@tentative-return-type @alias xmlwriter_start_cdata

Definition at line 224 of file php_xmlwriter.stub.php.

◆ startComment()

XMLWriter::startComment ( )

@tentative-return-type @alias xmlwriter_start_comment

Definition at line 128 of file php_xmlwriter.stub.php.

◆ startDocument()

XMLWriter::startDocument ( ?string $version = "1.0",
?string $encoding = null,
?string $standalone = null )

@tentative-return-type @alias xmlwriter_start_document

Definition at line 254 of file php_xmlwriter.stub.php.

◆ startDtd()

XMLWriter::startDtd ( string $qualifiedName,
?string $publicId = null,
?string $systemId = null )

@tentative-return-type @alias xmlwriter_start_dtd

Definition at line 272 of file php_xmlwriter.stub.php.

◆ startDtdAttlist()

XMLWriter::startDtdAttlist ( string $name)

@tentative-return-type @alias xmlwriter_start_dtd_attlist

Definition at line 308 of file php_xmlwriter.stub.php.

◆ startDtdElement()

XMLWriter::startDtdElement ( string $qualifiedName)

@tentative-return-type @alias xmlwriter_start_dtd_element

Definition at line 290 of file php_xmlwriter.stub.php.

◆ startDtdEntity()

XMLWriter::startDtdEntity ( string $name,
bool $isParam )

@tentative-return-type @alias xmlwriter_start_dtd_entity

Definition at line 326 of file php_xmlwriter.stub.php.

◆ startElement()

XMLWriter::startElement ( string $name)

@tentative-return-type @alias xmlwriter_start_element

Definition at line 170 of file php_xmlwriter.stub.php.

◆ startElementNs()

XMLWriter::startElementNs ( ?string $prefix,
string $name,
?string $namespace )

@tentative-return-type @alias xmlwriter_start_element_ns

Definition at line 188 of file php_xmlwriter.stub.php.

◆ startPi()

XMLWriter::startPi ( string $target)

@tentative-return-type @alias xmlwriter_start_pi

Definition at line 206 of file php_xmlwriter.stub.php.

◆ text()

XMLWriter::text ( string $content)

@tentative-return-type @alias xmlwriter_text

Definition at line 242 of file php_xmlwriter.stub.php.

◆ toMemory()

static XMLWriter::toMemory ( )
static

Definition at line 107 of file php_xmlwriter.stub.php.

◆ toStream()

static XMLWriter::toStream ( $stream)
static
Parameters
resource$stream

Definition at line 110 of file php_xmlwriter.stub.php.

◆ toUri()

static XMLWriter::toUri ( string $uri)
static

Definition at line 98 of file php_xmlwriter.stub.php.

◆ writeAttribute()

XMLWriter::writeAttribute ( string $name,
string $value )

@tentative-return-type @alias xmlwriter_write_attribute

Definition at line 152 of file php_xmlwriter.stub.php.

◆ writeAttributeNs()

XMLWriter::writeAttributeNs ( ?string $prefix,
string $name,
?string $namespace,
string $value )

@tentative-return-type @alias xmlwriter_write_attribute_ns

Definition at line 164 of file php_xmlwriter.stub.php.

◆ writeCdata()

XMLWriter::writeCdata ( string $content)

@tentative-return-type @alias xmlwriter_write_cdata

Definition at line 236 of file php_xmlwriter.stub.php.

◆ writeComment()

XMLWriter::writeComment ( string $content)

@tentative-return-type @alias xmlwriter_write_comment

Definition at line 266 of file php_xmlwriter.stub.php.

◆ writeDtd()

XMLWriter::writeDtd ( string $name,
?string $publicId = null,
?string $systemId = null,
?string $content = null )

@tentative-return-type @alias xmlwriter_write_dtd

Definition at line 284 of file php_xmlwriter.stub.php.

◆ writeDtdAttlist()

XMLWriter::writeDtdAttlist ( string $name,
string $content )

@tentative-return-type @alias xmlwriter_write_dtd_attlist

Definition at line 320 of file php_xmlwriter.stub.php.

◆ writeDtdElement()

XMLWriter::writeDtdElement ( string $name,
string $content )

@tentative-return-type @alias xmlwriter_write_dtd_element

Definition at line 302 of file php_xmlwriter.stub.php.

◆ writeDtdEntity()

XMLWriter::writeDtdEntity ( string $name,
string $content,
bool $isParam = false,
?string $publicId = null,
?string $systemId = null,
?string $notationData = null )

@tentative-return-type @alias xmlwriter_write_dtd_entity

Definition at line 338 of file php_xmlwriter.stub.php.

◆ writeElement()

XMLWriter::writeElement ( string $name,
?string $content = null )

@tentative-return-type @alias xmlwriter_write_element

Definition at line 194 of file php_xmlwriter.stub.php.

◆ writeElementNs()

XMLWriter::writeElementNs ( ?string $prefix,
string $name,
?string $namespace,
?string $content = null )

@tentative-return-type @alias xmlwriter_write_element_ns

Definition at line 200 of file php_xmlwriter.stub.php.

◆ writePi()

XMLWriter::writePi ( string $target,
string $content )

@tentative-return-type @alias xmlwriter_write_pi

Definition at line 218 of file php_xmlwriter.stub.php.

◆ writeRaw()

XMLWriter::writeRaw ( string $content)

@tentative-return-type @alias xmlwriter_write_raw

Definition at line 248 of file php_xmlwriter.stub.php.


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