Class ElggAnnotation
Elgg Annotations
Annotations allow you to attach bits of information to entities. They are essentially the same as metadata, but with additional helper functions.
- ElggData implements Loggable, Iterator, ArrayAccess, Exportable
- ElggExtender
- ElggAnnotation
Package: Elgg\Core\DataModel\Annotations
Link: http://docs.elgg.org/DataModel/Annotations
Located at ElggAnnotation.php
Link: http://docs.elgg.org/DataModel/Annotations
Located at ElggAnnotation.php
protected
|
|
public
|
|
public
integer
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
string
|
|
public
|
#
getObjectFromID( integer $id )
For a given ID, return the object associated with it. This is used by the river functionality primarily. This is useful for checking access permissions etc on objects. |
canEdit(),
export(),
get(),
getEntity(),
getExportableValues(),
getOwnerEntity(),
getOwnerGUID(),
getSubtype(),
getSystemLogID(),
getType(),
set()
|
__get(),
__isset(),
__set(),
current(),
getClassName(),
getTimeCreated(),
key(),
next(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
rewind(),
valid()
|
$attributes,
$valid
|
public
string
|
$value_type | |
public
string
|
$enabled |
$access_id,
$entity_guid,
$id,
$name,
$time_created,
$type,
$value
|
$owner_guid
|