Class ElggPluginManifestParser
Parent class for manifest parsers.
Converts manifest.xml files or strings to an array.
This should be extended by a class that does the actual work to convert based on the manifest.xml version.
This class only parses XML to an XmlEntity object and an array. The array should be used primarily to extract information since it is quicker to parse once and store values from the XmlElement object than to parse the object each time.
The array should be an exact representation of the manifest.xml file or string. Any normalization needs to be done in the calling class / function.
public
|
|
public
|
|
public
array
|
|
public
mixed
|
|
abstract public
boolean
|
protected
|
$manifestObject |
|
#
The XmlElement object |
protected
array
|
$manifest |
|
#
The manifest array |
protected
array
|
$validAttributes |
|
#
All valid manifest attributes with default values. |
protected
object
|
$caller |
|
#
The object we're doing parsing for. |