PHP 클래스 ElggComment, Elgg

부터: 1.9.0
상속: extends ElggObject
파일 보기 프로젝트 열기: elgg/elgg 1 사용 예제들

공개 메소드들

메소드 설명
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