32 'activate_on_install',
44 'name',
'author',
'version',
'description',
'requires' 56 foreach ($this->manifestObject->children as $element) {
57 switch ($element->name) {
71 case 'activate_on_install':
72 $parsed[$element->name] = $element->content;
77 $parsed[$element->name][] = $element->content;
87 if (!isset($element->children)) {
92 foreach ($element->children as $child_element) {
93 $info[$child_element->name] = $child_element->content;
96 $parsed[$element->name][] = $info;
102 foreach ($this->requiredAttributes as $attr) {
103 if (!array_key_exists($attr, $parsed)) {
105 array($attr, $this->caller->getPluginID())));
109 $this->manifest = $parsed;
111 if (!$this->manifest) {
parse()
Parse a manifest object from 1.8 and later.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.