コード例 #1
0
ファイル: PageEntity.php プロジェクト: svobodni/web
 public function getPrivileges()
 {
     return parent::getPrivileges() + array(self::PRIVILEGE_EDIT_OWN => 'edit own comments', self::PRIVILEGE_DELETE_OWN => 'delete own comments', self::PRIVILEGE_EDIT => 'edit comments from all authors', self::PRIVILEGE_DELETE => 'delete comments from all authors');
 }