ModuleXmlWriter
extends XmlWriterAbstract
in package
Table of Contents
- $path : string
- __construct() : mixed
- write() : mixed
- createAutoloadElement() : mixed
- createModuleElem() : mixed
- getEmptyDocument() : DOMDocument
- writeAutoload() : mixed
- writeData() : mixed
- writeDependencies() : mixed
- writeInfo() : mixed
Properties
$path
protected
string
$path
the path of the xml file to read
Methods
__construct()
public
__construct(string $path) : mixed
Parameters
- $path : string
-
the path of the xml file to read
Return values
mixed —write()
public
write(InfosAbstract $infos[, mixed $intoFile = true ]) : mixed
Parameters
- $infos : InfosAbstract
- $intoFile : mixed = true
Return values
mixed —createAutoloadElement()
protected
createAutoloadElement(mixed $doc, mixed $name, mixed $ns, mixed $dir) : mixed
Parameters
- $doc : mixed
- $name : mixed
- $ns : mixed
- $dir : mixed
Return values
mixed —createModuleElem()
protected
createModuleElem(DOMDocument $doc, array<string|int, mixed> $moduleInfos) : mixed
Parameters
- $doc : DOMDocument
- $moduleInfos : array<string|int, mixed>
Return values
mixed —getEmptyDocument()
protected
getEmptyDocument() : DOMDocument
Return values
DOMDocument —writeAutoload()
protected
writeAutoload(DOMDocument $doc, ModuleInfos $infos) : mixed
Parameters
- $doc : DOMDocument
- $infos : ModuleInfos
Return values
mixed —writeData()
protected
writeData(DOMDocument $doc, ModuleInfos $infos) : mixed
Parameters
- $doc : DOMDocument
- $infos : ModuleInfos
Return values
mixed —writeDependencies()
protected
writeDependencies(DOMDocument $doc, ModuleInfos $infos) : mixed
Parameters
- $doc : DOMDocument
- $infos : ModuleInfos
Return values
mixed —writeInfo()
protected
writeInfo(DOMDocument $doc, InfosAbstract $infos) : mixed
Parameters
- $doc : DOMDocument
- $infos : InfosAbstract