14         'author', 
'version', 
'description', 
'website',
 
   15         'copyright', 
'license', 
'licence', 
'elgg_version',
 
   18         'requires', 
'recommends', 
'conflicts',
 
   30         if (!isset($this->manifestObject->children)) {
 
   36         foreach ($this->manifestObject->children as $element) {
 
   37             $key = $element->attributes[
'key'];
 
   38             $value = $element->attributes[
'value'];
 
   41             if (array_key_exists(
$key, $elements)) {
 
   42                 if (!is_array($elements[
$key])) {
 
   43                     $orig = $elements[
$key];
 
   44                     $elements[
$key] = array($orig);
 
   53         if ($elements && !array_key_exists(
'name', $elements)) {
 
   54             $elements[
'name'] = $this->caller->getName();
 
   57         $this->manifest = $elements;
 
   59         if (!$this->manifest) {
 
   76         if (isset($this->manifest[
$name])) {
 
   77             return $this->manifest[
$name];
 
if($guid==elgg_get_logged_in_user_guid()) $name
 
parse()
Parse a manifest object from 1.7 or earlier.
 
$validAttributes
The valid top level attributes and defaults for a 1.7 manifest.
 
getAttribute($name)
Return an attribute in the manifest.