コード例 #1
0
ファイル: Object.php プロジェクト: LeeGlendenning/formulize
 /**
  * Checks if the user has a specific access on this object
  *
  * @param string $gperm_name name of the permission to test
  * @return boolean : TRUE if user has access, false if not
  **/
 public function accessGranted($perm_name)
 {
     $icmspermissions_handler = new icms_ipf_permission_Handler($this->handler);
     return $icmspermissions_handler->accessGranted($perm_name, $this->id());
 }