Method |
Description |
|
__construct ( stdClass $row ) |
Create a relationship object |
|
__get ( string $name ) : mixed |
Get an attribute of the relationship |
|
__set ( string $name, mixed $value ) : void |
Set an attribute of the relationship |
|
delete ( ) : boolean |
Delete this relationship from the database. |
|
getObjectFromID ( integer $id ) : ElggRelationship |
For a given ID, return the object associated with it. |
|
getSubtype ( ) : string |
Return a subtype. For metadata & annotations this is the 'name' and for relationship this
is the relationship type. |
|
getSystemLogID ( ) : integer |
Return an identification for the object for storage in the system log. |
|
getType ( ) : string |
Return a type of the object - eg. object, group, user, relationship, metadata, annotation etc |
|
getURL ( ) : string |
Get a URL for this relationship. |
|
save ( ) : integer |
Save the relationship |
|
toObject ( ) |
|
|