Elgg  Version 1.11
ODDEntity.php
Go to the documentation of this file.
1 <?php
2 
10 class ODDEntity extends ODD {
11 
19  function __construct($uuid, $class, $subclass = "") {
20  parent::__construct();
21 
22  $this->setAttribute('uuid', $uuid);
23  $this->setAttribute('class', $class);
24  $this->setAttribute('subclass', $subclass);
25  }
26 
32  protected function getTagName() {
33  return "entity";
34  }
35 }
if(isset($vars['id'])) $class
Definition: ajax_loader.php:19
Definition: ODD.php:9
__construct($uuid, $class, $subclass="")
New ODD Entity.
Definition: ODDEntity.php:19
getTagName()
Returns entity.
Definition: ODDEntity.php:32
setAttribute($key, $value)
Sets an attribute.
Definition: ODD.php:44