ILIAS
eassessment Revision 61809
|
Access class for repsoitory plugins. More...
Public Member Functions | |
_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) | |
_checkCondition ($a_obj_id, $a_operator, $a_value, $a_usr_id=0) | |
check condition | |
_checkGoto ($a_target) | |
check whether goto script will succeed | |
_getCommands () |
Access class for repsoitory plugins.
Definition at line 32 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 49 of file class.ilObjectPluginAccess.php.
ilObjectPluginAccess::_checkCondition | ( | $a_obj_id, | |
$a_operator, | |||
$a_value, | |||
$a_usr_id = 0 |
|||
) |
check condition
this method is called by ilConditionHandler
Definition at line 72 of file class.ilObjectPluginAccess.php.
ilObjectPluginAccess::_checkGoto | ( | $a_target | ) |
check whether goto script will succeed
Definition at line 80 of file class.ilObjectPluginAccess.php.
ilObjectPluginAccess::_getCommands | ( | ) |
Definition at line 94 of file class.ilObjectPluginAccess.php.