Jelix 1.7.18

ModuleXmlParser extends XmlParserAbstract
in package

Class to parse the module.xml file of a module.

Table of Contents

$path  : string
__construct()  : mixed
parse()  : InfosAbstract
parseFromString()  : mixed
createInfos()  : InfosAbstract
fixVersion()  : mixed
Fix version for non built lib.
parseAutoload()  : mixed
parseDependencies()  : mixed
parseInfo()  : mixed
readComponentDependencyInfo()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(string $path) : mixed
Parameters
$path : string

the path of the xml file to read

Return values
mixed

parseFromString()

public parseFromString(mixed $xmlContent) : mixed
Parameters
$xmlContent : mixed
Return values
mixed

fixVersion()

Fix version for non built lib.

protected fixVersion(mixed $version) : mixed
Parameters
$version : mixed
Return values
mixed

readComponentDependencyInfo()

protected readComponentDependencyInfo(XMLReader $xml) : array<string|int, mixed>
Parameters
$xml : XMLReader
Return values
array<string|int, mixed>

Search results