15 parent::initializeAttributes();
17 $this->attributes[
'type'] =
'annotation';
70 public function delete() {
disable()
Disable the annotation.
__construct(stdClass $row=null)
Constructor.
save()
Save this instance and returns an annotation ID.
getEntity()
Get the entity this describes.
$user_guid
Validate a user.
canEdit($user_guid=0)
Determines whether or not the user can edit this annotation.
$id
River item delete action.
elgg_get_annotation_from_id($id)
Elgg annotations Functions to manage object annotations.
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key
_elgg_services()
Get the global service provider.
enable()
Enable the annotation.
get_entity($guid)
Loads and returns an entity object from a guid.