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

Public Member Functions

 parse ()
 Parse a manifest object from 1.7 or earlier. More...
 
 getAttribute ($name)
 Return an attribute in the manifest. More...
 
- Public Member Functions inherited from ElggPluginManifestParser
 __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

 $validAttributes
 The valid top level attributes and defaults for a 1.7 manifest. More...
 
- Protected Attributes inherited from ElggPluginManifestParser
 $manifestObject
 
 $manifest
 
 $validAttributes
 
 $caller
 

Detailed Description

Definition at line 9 of file ElggPluginManifestParser17.php.

Member Function Documentation

ElggPluginManifestParser17::getAttribute (   $name)

Return an attribute in the manifest.

Overrides ElggPluginManifestParser::getAttribute() because before 1.8 there were no rules...weeeeeeeee!

Parameters
string$nameAttribute name
Returns
mixed

Definition at line 75 of file ElggPluginManifestParser17.php.

ElggPluginManifestParser17::parse ( )

Parse a manifest object from 1.7 or earlier.

Returns
void

Definition at line 29 of file ElggPluginManifestParser17.php.

Member Data Documentation

ElggPluginManifestParser17::$validAttributes
protected
Initial value:
= array(
'author', 'version', 'description', 'website',
'copyright', 'license', 'licence', 'elgg_version',
'requires', 'recommends', 'conflicts',
'name',
)

The valid top level attributes and defaults for a 1.7 manifest.

Definition at line 13 of file ElggPluginManifestParser17.php.


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