Elgg
Version 1.11
|
Public Member Functions | |
__construct ($uuid1, $type, $uuid2) | |
New ODD Relationship. 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 'relationship'. More... | |
Protected Member Functions inherited from ODD | |
getTagName () | |
For serialisation, implement to return a string name of the tag eg "header" or "metadata". More... | |
Definition at line 9 of file ODDRelationship.php.
ODDRelationship::__construct | ( | $uuid1, | |
$type, | |||
$uuid2 | |||
) |
New ODD Relationship.
string | $uuid1 | First UUID |
string | $type | Type of telationship |
string | $uuid2 | Second UUId |
Definition at line 18 of file ODDRelationship.php.
|
protected |
Returns 'relationship'.
Definition at line 31 of file ODDRelationship.php.