Elgg
Version master
|
Go to the source code of this file.
Namespaces | |
Elgg\Traits\Entity | |
Functions | |
Elgg\Traits\Entity::deleteAnnotations (string $name=null) | |
Deletes all annotations on this object (annotations.entity_guid = $this->guid). More... | |
Elgg\Traits\Entity::deleteOwnedAnnotations (string $name=null) | |
Deletes all annotations owned by this object (annotations.owner_guid = $this->guid). More... | |
Elgg\Traits\Entity::annotate ($name, $value, $access_id=ACCESS_PRIVATE, $owner_guid=0, $value_type= '') | |
Adds an annotation to an entity. More... | |
Elgg\Traits\Entity::getAnnotations (array $options=[]) | |
Gets an array of annotations. More... | |
Elgg\Traits\Entity::countAnnotations (string $name= '') | |
Count annotations. More... | |
Elgg\Traits\Entity::getAnnotationsAvg (string $name) | |
Get the average of an integer type annotation. More... | |
Elgg\Traits\Entity::getAnnotationsSum (string $name) | |
Get the sum of integer type annotations of a given name. More... | |
Elgg\Traits\Entity::getAnnotationsMin (string $name) | |
Get the minimum of integer type annotations of given name. More... | |
Elgg\Traits\Entity::getAnnotationsMax (string $name) | |
Get the maximum of integer type annotations of a given name. More... | |
Variables | |
trait | Elgg\Traits\Entity::Annotations |
Bundle all annotations related functions for an . More... | |