PHP Класс ElggComment, Elgg

С версии: 1.9.0
Наследование: extends ElggObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
canComment ( integer $user_guid, boolean $default = null ) : boolean Can a user comment on this object? Always returns false (threaded comments not yet supported)
save ( boolean $update_last_action = true ) : boolean | integer Update container entity last action on successful save.

Защищенные методы

Метод Описание
initializeAttributes ( ) : void Set subtype to comment

Описание методов

canComment() публичный Метод

Can a user comment on this object? Always returns false (threaded comments not yet supported)
См. также: ElggEntity::canComment()
С версии: 1.9.0
public canComment ( integer $user_guid, boolean $default = null ) : boolean
$user_guid integer User guid (default is logged in user)
$default boolean Default permission
Результат boolean

initializeAttributes() защищенный Метод

Set subtype to comment
protected initializeAttributes ( ) : void
Результат void

save() публичный Метод

Update container entity last action on successful save.
public save ( boolean $update_last_action = true ) : boolean | integer
$update_last_action boolean Update the container entity's last_action field
Результат boolean | integer