ModuleXmlWriter
extends XmlWriterAbstract
in package
Tags
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
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 —createAutoloadElement()
protected
createAutoloadElement(mixed $doc, mixed $name, mixed $ns, mixed $dir) : mixed
Parameters
- $doc : mixed
- $name : mixed
- $ns : mixed
- $dir : mixed
Tags
Return values
mixed —createModuleElem()
protected
createModuleElem(DOMDocument $doc, array<string|int, mixed> $moduleInfos) : mixed
Parameters
- $doc : DOMDocument
- $moduleInfos : array<string|int, mixed>
Tags
Return values
mixed —getEmptyDocument()
protected
getEmptyDocument() : DOMDocument
Tags
Return values
DOMDocument —writeAutoload()
protected
writeAutoload(DOMDocument $doc, ModuleInfos $infos) : mixed
Parameters
- $doc : DOMDocument
- $infos : ModuleInfos
Tags
Return values
mixed —writeData()
protected
writeData(DOMDocument $doc, ModuleInfos $infos) : mixed
Parameters
- $doc : DOMDocument
- $infos : ModuleInfos
Tags
Return values
mixed —writeDependencies()
protected
writeDependencies(DOMDocument $doc, ModuleInfos $infos) : mixed
Parameters
- $doc : DOMDocument
- $infos : ModuleInfos
Tags
Return values
mixed —writeInfo()
protected
writeInfo(DOMDocument $doc, InfosAbstract $infos) : mixed
Parameters
- $doc : DOMDocument
- $infos : InfosAbstract