24         parent::initializeAttributes();
 
   26         $this->attributes[
'type'] = 
'annotation';
 
   42             if (
$row instanceof \stdClass) {
 
   51                 elgg_deprecated_notice(
'Passing an ID to constructor is deprecated. Use elgg_get_annotation_from_id()', 1.9);
 
   74                 throw new \IOException(
"Unable to save new " . get_class());
 
   85     public function delete() {
 
if(! $collection_name) $id
 
create_annotation($entity_guid, $name, $value, $value_type='', $owner_guid=0, $access_id=ACCESS_PRIVATE)
Create a new annotation.
 
elgg_get_annotation_from_id($id)
Get a specific annotation by its id.
 
update_annotation($annotation_id, $name, $value, $value_type, $owner_guid, $access_id)
Update an annotation.
 
$user_guid
Avatar remove action.
 
getObjectFromID($id)
For a given ID, return the object associated with it.
 
enable()
Enable the annotation.
 
__construct($row=null)
Construct a new annotation object.
 
canEdit($user_guid=0)
Determines whether or not the user can edit this annotation.
 
disable()
Disable the annotation.
 
initializeAttributes()
(non-PHPdoc)
 
save()
Save this instance.
 
getOwnerGUID()
Get the GUID of the extender's owner entity.
 
getEntity()
Get the entity this describes.
 
$annotation
Elgg default annotation view.
 
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Log a notice about deprecated use of a function, view, etc.
 
elgg_delete_river(array $options=array())
Delete river items.
 
get_user($guid)
Get a user object from a GUID.