PHP Класс 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.
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Защищенные методы
Описание методов
__construct()
публичный Метод
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 |
canEdit()
публичный Метод
Determines whether or not the user can edit this annotation
disable()
публичный Метод
getObjectFromID()
публичный Метод
This is used by the river functionality primarily.
This is useful for checking access permissions etc on objects.
initializeAttributes()
защищенный Метод