Elgg
Version master
|
Public Member Functions | |
__construct (\stdClass $row=null) | |
Construct a river item object. More... | |
__set (string $name, $value) | |
{} More... | |
__get ($name) | |
{} More... | |
__isset ($name) | |
{} More... | |
__unset ($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... | |
updateLastAction (int $last_action=null) | |
Update the last_action column in the river table. More... | |
getType () | |
Get the type of the object. More... | |
getSubtype () | |
Get the subtype of the object. More... | |
canDelete (int $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 Member Functions | |
initializeAttributes () | |
Initialize the attributes array. More... | |
Protected Attributes | |
const | INTEGER_ATTR_NAMES |
array | $attributes = [] |
Definition at line 18 of file ElggRiverItem.php.
ElggRiverItem::__construct | ( | \stdClass | $row = null | ) |
Construct a river item object.
\stdClass | $row | (optional) object obtained from database |
Definition at line 41 of file ElggRiverItem.php.
ElggRiverItem::__get | ( | $name | ) |
{}
Definition at line 82 of file ElggRiverItem.php.
ElggRiverItem::__isset | ( | $name | ) |
{}
Definition at line 102 of file ElggRiverItem.php.
ElggRiverItem::__set | ( | string | $name, |
$value | |||
) |
ElggRiverItem::__unset | ( | $name | ) |
{}
Definition at line 109 of file ElggRiverItem.php.
ElggRiverItem::canDelete | ( | int | $user_guid = 0 | ) |
Can a user delete this river item?
Can be overridden by registering for the "permissions_check:delete", "river" event.
int | $user_guid | The user GUID, optionally (default: logged in user) |
Definition at line 234 of file ElggRiverItem.php.
ElggRiverItem::delete | ( | ) |
Delete the river item.
Definition at line 244 of file ElggRiverItem.php.
ElggRiverItem::getAnnotation | ( | ) |
Get the Annotation for this river item.
Definition at line 166 of file ElggRiverItem.php.
ElggRiverItem::getObjectEntity | ( | ) |
Get the object of this river item.
Definition at line 148 of file ElggRiverItem.php.
ElggRiverItem::getSubjectEntity | ( | ) |
Get the subject of this river item.
Definition at line 139 of file ElggRiverItem.php.
ElggRiverItem::getSubtype | ( | ) |
Get the subtype of the object.
This is required for elgg_view_list_item().
Definition at line 220 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 209 of file ElggRiverItem.php.
ElggRiverItem::getView | ( | ) |
Get the view used to display this river item.
Definition at line 175 of file ElggRiverItem.php.
|
protected |
ElggRiverItem::save | ( | ) |
ElggRiverItem::toObject | ( | ) |
Get a plain old object copy for public consumption.
Definition at line 257 of file ElggRiverItem.php.
ElggRiverItem::updateLastAction | ( | int | $last_action = null | ) |
Update the last_action column in the river table.
int | $last_action | Timestamp of last action |
Definition at line 195 of file ElggRiverItem.php.
|
protected |
Definition at line 34 of file ElggRiverItem.php.
|
protected |
Definition at line 23 of file ElggRiverItem.php.