Elgg
Version 1.11
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
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
}
$class
if(isset($vars['id'])) $class
Definition:
ajax_loader.php:19
ODDEntity
Definition:
ODDEntity.php:10
ODD
Definition:
ODD.php:9
ODDEntity\__construct
__construct($uuid, $class, $subclass="")
New ODD Entity.
Definition:
ODDEntity.php:19
ODDEntity\getTagName
getTagName()
Returns entity.
Definition:
ODDEntity.php:32
ODD\setAttribute
setAttribute($key, $value)
Sets an attribute.
Definition:
ODD.php:44
Generated on Sat Dec 21 2024 00:00:49 for Elgg by
1.8.11