Elgg  Version 2.3
Public Member Functions | Protected Member Functions | List of all members
ODDEntity Class Reference
Inheritance diagram for ODDEntity:
ODD

Public Member Functions

 __construct ($uuid, $class, $subclass="")
 New ODD Entity. More...
 
- Public Member Functions inherited from ODD
 __construct ()
 Construct an ODD document with initial values. More...
 
 getAttributes ()
 Returns an array of attributes. More...
 
 setAttribute ($key, $value)
 Sets an attribute. More...
 
 getAttribute ($key)
 Returns an attribute. More...
 
 setBody ($value)
 Sets the body of the ODD. More...
 
 getBody ()
 Gets the body of the ODD. More...
 
 setPublished ($time)
 Set the published time. More...
 
 getPublishedAsTime ()
 Return the published time as a unix timestamp. More...
 
 __toString ()
 Magic function to generate valid ODD XML for this item. More...
 

Protected Member Functions

 getTagName ()
 Returns entity. More...
 

Detailed Description

Definition at line 10 of file ODDEntity.php.

Constructor & Destructor Documentation

◆ __construct()

ODDEntity::__construct (   $uuid,
  $class,
  $subclass = "" 
)

New ODD Entity.

Parameters
string$uuidA universally unique ID
string$classClass
string$subclassSubclass

Definition at line 19 of file ODDEntity.php.

Member Function Documentation

◆ getTagName()

ODDEntity::getTagName ( )
protected

Returns entity.

Returns
'entity'

Reimplemented from ODD.

Definition at line 32 of file ODDEntity.php.


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