Elgg
Version 4.3
|
Public Member Functions | |
__construct (\stdClass $row=null) | |
Construct a river item object. More... | |
__set (string $name, $value) | |
{} More... | |
__get ($name) | |
{} More... | |
getSubjectEntity () | |
Get the subject of this river item. More... | |
getObjectEntity () | |
Get the object of this river item. More... | |
getTargetEntity () | |
Get the target of this river item. More... | |
getAnnotation () | |
Get the Annotation for this river item. More... | |
getView () | |
Get the view used to display this river item. More... | |
getTimePosted () | |
Get the time this activity was posted. More... | |
getType () | |
Get the type of the object. More... | |
getSubtype () | |
Get the subtype of the object. More... | |
canDelete ($user_guid=0) | |
Can a user delete this river item? More... | |
delete () | |
Delete the river item. More... | |
toObject () | |
Get a plain old object copy for public consumption. More... | |
save () | |
Save the river item to the database. More... | |
Protected Attributes | |
const | INTEGER_ATTR_NAMES |
Definition at line 16 of file ElggRiverItem.php.
ElggRiverItem::__construct | ( | \stdClass | $row = null | ) |
Construct a river item object.
\stdClass | $row | (optional) object obtained from database |
Definition at line 36 of file ElggRiverItem.php.
ElggRiverItem::__get | ( | $name | ) |
{}
Definition at line 59 of file ElggRiverItem.php.
ElggRiverItem::__set | ( | string | $name, |
$value | |||
) |
{}
Definition at line 52 of file ElggRiverItem.php.
ElggRiverItem::canDelete | ( | $user_guid = 0 | ) |
Can a user delete this river item?
Can be overridden by registering for the "permissions_check:delete", "river" plugin hook.
int | $user_guid | The user GUID, optionally (default: logged in user) |
Definition at line 158 of file ElggRiverItem.php.
ElggRiverItem::delete | ( | ) |
Delete the river item.
Definition at line 168 of file ElggRiverItem.php.
ElggRiverItem::getAnnotation | ( | ) |
Get the Annotation for this river item.
Definition at line 103 of file ElggRiverItem.php.
ElggRiverItem::getObjectEntity | ( | ) |
ElggRiverItem::getSubjectEntity | ( | ) |
ElggRiverItem::getSubtype | ( | ) |
Get the subtype of the object.
This is required for elgg_view_list_item().
Definition at line 144 of file ElggRiverItem.php.
ElggRiverItem::getTargetEntity | ( | ) |
ElggRiverItem::getTimePosted | ( | ) |
ElggRiverItem::getType | ( | ) |
Get the type of the object.
This is required for elgg_view_list_item(). All the other data types (entities, extenders, relationships) have a type/subtype.
Definition at line 133 of file ElggRiverItem.php.
ElggRiverItem::getView | ( | ) |
Get the view used to display this river item.
Definition at line 112 of file ElggRiverItem.php.
ElggRiverItem::save | ( | ) |
ElggRiverItem::toObject | ( | ) |
Get a plain old object copy for public consumption.
Definition at line 181 of file ElggRiverItem.php.
|
protected |
Definition at line 21 of file ElggRiverItem.php.