/** * Returns whether the user is allowed to perform this task * * @param One_Scheme $scheme * @param mixed $id * @return boolean */ public function authorize($scheme) { return One_Permission::authorize('show', $scheme, NULL); }
/** * Returns whether the user is allowed to perform this task * * @return boolean */ public function authorize() { return One_Permission::authorize('list', $this->scheme, 0); }
/** * Returns whether the user is allowed to perform this task * * @param One_Scheme $scheme * @param mixed $id * @return boolean */ public function authorize($scheme, $id) { return One_Permission::authorize('detail', $scheme, $id); }
/** * Returns whether the user is allowed to perform this task * * @param One_Scheme $scheme * @param mixed $id * @return boolean */ public function authorize($scheme, $id) { return One_Permission::authorize('search', $scheme->getName(), $id); }
/** * Returns whether the user is allowed to perform this task * * @param One_Scheme $scheme * @param mixed $id * @return boolean */ public function authorize($scheme) { return One_Permission::authorize('calendar', $scheme, null); }
/** * Returns whether the user is allowed to perform this task * * @return boolean */ public function authorize() { return true; return One_Permission::authorize('jqexport', $this->scheme, 0); }
/** * Returns whether the user is allowed to perform this task * * @param One_Scheme $scheme * @param mixed $id * @return boolean */ public function authorize($scheme, $id) { return One_Permission::authorize('remove', $scheme, $id); }
/** * Returns whether the user is allowed to perform this task * * @param OneScheme $scheme * @param mixed $id * @return boolean */ public function authorize($scheme) { return One_Permission::authorize('ajaxinsert', $scheme, $id); }
/** * Returns whether the user is allowed to perform this task * * @param OneScheme $scheme * @param mixed $id * @return boolean */ public function authorize($scheme, $id) { return One_Permission::authorize('ajaxupdate', $scheme, $id); }