PHP Class ElggAnnotation, Elgg
Annotations allow you to attach bits of information to entities. They are
essentially the same as metadata, but with additional helper functions for
performing calculations.
显示文件
Open project: elgg/elgg
Class Usage Examples
Public Methods
Protected Methods
Method Details
__construct()
public method
Plugin developers will probably never use the constructor.
See \ElggEntity for its API for adding annotations.
public __construct ( stdClass $row = null ) |
$row |
stdClass |
Database row as \stdClass object |
Determines whether or not the user can edit this annotation
getObjectFromID()
public method
This is used by the river functionality primarily.
This is useful for checking access permissions etc on objects.
initializeAttributes()
protected method