コード例 #1
0
ファイル: complex_perm.php プロジェクト: staabm/redaxo
 /**
  * Returns if the user has the permission for all items.
  *
  * @return bool
  */
 public function hasAll()
 {
     return $this->user->isAdmin() || $this->perms == self::ALL;
 }