ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Access class for repsoitory plugins. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
_checkAccess ($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id="") | |
Checks wether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More... | |
_checkCondition ($a_obj_id, $a_operator, $a_value, $a_usr_id=0) | |
check condition More... | |
Public Member Functions inherited from ilObjectAccess | |
_checkAccess ($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id="") | |
Checks wether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More... | |
_checkCondition ($a_obj_id, $a_operator, $a_value, $a_usr_id) | |
check condition More... | |
Static Public Member Functions | |
static | _checkGoto ($a_target) |
check whether goto script will succeed More... | |
static | _getCommands () |
Static Public Member Functions inherited from ilObjectAccess | |
static | _getCommands () |
get commands More... | |
static | _checkGoto ($a_target) |
check whether goto script will succeed More... | |
static | _isOffline ($a_obj_id) |
Type-specific implementation of general status, has to be overwritten. More... | |
static | _preloadData ($a_obj_ids, $a_ref_ids) |
Preload data. More... | |
Protected Attributes | |
$user | |
$access | |
Access class for repsoitory plugins.
Definition at line 32 of file class.ilObjectPluginAccess.php.
ilObjectPluginAccess::__construct | ( | ) |
Constructor.
Definition at line 48 of file class.ilObjectPluginAccess.php.
ilObjectPluginAccess::_checkAccess | ( | $a_cmd, | |
$a_permission, | |||
$a_ref_id, | |||
$a_obj_id, | |||
$a_user_id = "" |
|||
) |
Checks wether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess)
Please do not check any preconditions handled by ilConditionHandler here. Also don't do any RBAC checks.
string | $a_cmd | command (not permission!) |
string | $a_permission | permission |
int | $a_ref_id | reference id |
int | $a_obj_id | object id |
int | $a_user_id | user id (if not provided, current user is taken) |
Definition at line 71 of file class.ilObjectPluginAccess.php.
References $access, $ilUser, and $user.
ilObjectPluginAccess::_checkCondition | ( | $a_obj_id, | |
$a_operator, | |||
$a_value, | |||
$a_usr_id = 0 |
|||
) |
check condition
this method is called by ilConditionHandler
Definition at line 94 of file class.ilObjectPluginAccess.php.
|
static |
check whether goto script will succeed
Definition at line 102 of file class.ilObjectPluginAccess.php.
References $DIC.
|
static |
|
protected |
Definition at line 42 of file class.ilObjectPluginAccess.php.
Referenced by _checkAccess().
|
protected |
Definition at line 37 of file class.ilObjectPluginAccess.php.
Referenced by _checkAccess().