XmlWriterAbstract
in package
Tags
Table of Contents
- $path : string
- __construct() : mixed
- write() : mixed
- getEmptyDocument() : DOMDocument
- writeData() : mixed
- writeInfo() : mixed
Properties
$path
protected
string
$path
the path of the xml file to read
Tags
Methods
__construct()
public
__construct(string $path) : mixed
Parameters
- $path : string
-
the path of the xml file to read
Tags
Return values
mixed —write()
public
write(InfosAbstract $infos[, mixed $intoFile = true ]) : mixed
Parameters
- $infos : InfosAbstract
- $intoFile : mixed = true
Tags
Return values
mixed —getEmptyDocument()
protected
abstract getEmptyDocument() : DOMDocument
Tags
Return values
DOMDocument —writeData()
protected
abstract writeData(DOMDocument $doc, InfosAbstract $infos) : mixed
Parameters
- $doc : DOMDocument
- $infos : InfosAbstract
Tags
Return values
mixed —writeInfo()
protected
writeInfo(DOMDocument $doc, InfosAbstract $infos) : mixed
Parameters
- $doc : DOMDocument
- $infos : InfosAbstract