Elgg  Version 1.9
Public Member Functions | Protected Attributes | List of all members
ElggPluginManifestParser Class Reference
Inheritance diagram for ElggPluginManifestParser:
ElggPluginManifestParser17 ElggPluginManifestParser18

Public Member Functions

 __construct (ElggXMLElement $xml, $caller)
 Loads the manifest XML to be parsed. More...
 
 getManifestObject ()
 Returns the manifest XML object. More...
 
 getManifest ()
 Return the parsed manifest array. More...
 
 getAttribute ($name)
 Return an attribute in the manifest. More...
 
 parse ()
 Parse the XML object into an array. More...
 

Protected Attributes

 $manifestObject
 
 $manifest
 
 $validAttributes
 
 $caller
 

Detailed Description

Definition at line 24 of file ElggPluginManifestParser.php.

Constructor & Destructor Documentation

ElggPluginManifestParser::__construct ( ElggXMLElement  $xml,
  $caller 
)

Loads the manifest XML to be parsed.

Parameters
ElggXmlElement$xmlThe Manifest XML object to be parsed
object$callerThe object calling this parser.

Definition at line 59 of file ElggPluginManifestParser.php.

Member Function Documentation

ElggPluginManifestParser::getAttribute (   $name)

Return an attribute in the manifest.

Parameters
string$nameAttribute name
Returns
mixed

Definition at line 88 of file ElggPluginManifestParser.php.

ElggPluginManifestParser::getManifest ( )

Return the parsed manifest array.

Returns
array

Definition at line 78 of file ElggPluginManifestParser.php.

ElggPluginManifestParser::getManifestObject ( )

Returns the manifest XML object.

Returns
ElggXmlElement

Definition at line 69 of file ElggPluginManifestParser.php.

ElggPluginManifestParser::parse ( )
abstract

Parse the XML object into an array.

Returns
bool

Member Data Documentation

ElggPluginManifestParser::$caller
protected

Definition at line 51 of file ElggPluginManifestParser.php.

ElggPluginManifestParser::$manifest
protected

Definition at line 37 of file ElggPluginManifestParser.php.

ElggPluginManifestParser::$manifestObject
protected

Definition at line 30 of file ElggPluginManifestParser.php.

ElggPluginManifestParser::$validAttributes
protected

Definition at line 44 of file ElggPluginManifestParser.php.


The documentation for this class was generated from the following file: