41 if (!(
$object instanceof stdClass)) {
46 $int_types = array(
'id',
'subject_guid',
'object_guid',
'target_guid',
'annotation_id',
'access_id',
'posted');
48 if (in_array(
$key, $int_types)) {
159 $params = array(
'item' => $this);
elgg_get_annotation_from_id($id)
Get a specific annotation by its id.
getType()
Get the type of the object.
getTimePosted()
Get the time this activity was posted.
getSubjectEntity()
Get the subject of this river item.
getPostedTime()
Get the time this activity was posted.
getSubtype()
Get the subtype of the object.
getTargetEntity()
Get the target of this river item.
getView()
Get the view used to display this river item.
toObject()
Get a plain old object copy for public consumption.
getAnnotation()
Get the Annotation for this river item.
getObjectEntity()
Get the object of this river item.
__construct($object)
Construct a river item object given a database row.
elgg_trigger_plugin_hook($hook, $type, $params=null, $returnvalue=null)
Trigger a Plugin Hook and run all handler callbacks registered to that hook:type.
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Sends a notice about deprecated use of a function, view, etc.
get_entity($guid)
Loads and returns an entity object from a guid.