ILIAS
release_4-3 Revision
|
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) | |
_checkGoto ($a_target) | |
check whether goto script will succeed | |
Public Member Functions inherited from ilObjectAccess | |
_checkCondition ($a_obj_id, $a_operator, $a_value, $a_usr_id=0) | |
check condition | |
_preloadData ($a_obj_ids, $a_ref_ids) | |
Preload data. |
Static Public Member Functions | |
_getCommands () | |
get list of command/permission combinations | |
static | _lookupRegistration ($a_obj_id) |
lookup registrations | |
static | _lookupRegistered ($a_usr_id, $a_obj_id) |
lookup if user has registered | |
Static Public Member Functions inherited from ilObjectAccess | |
static | _isOffline ($a_obj_id) |
Type-specific implementation of general status, has to be overwritten. |
Static Protected Attributes | |
static | $registrations = null |
static | $registered = null |
Definition at line 34 of file class.ilObjSessionAccess.php.
ilObjSessionAccess::_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)
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) |
Reimplemented from ilObjectAccess.
Definition at line 72 of file class.ilObjSessionAccess.php.
References $ilUser, $lng, and _lookupRegistered().
ilObjSessionAccess::_checkGoto | ( | $a_target | ) |
check whether goto script will succeed
Reimplemented from ilObjectAccess.
Definition at line 100 of file class.ilObjSessionAccess.php.
|
static |
get list of command/permission combinations
public
Reimplemented from ilObjectAccess.
Definition at line 46 of file class.ilObjSessionAccess.php.
Referenced by ilObjSessionListGUI\init().
|
static |
lookup if user has registered
public
int | usr_id |
int | obj_id |
Definition at line 153 of file class.ilObjSessionAccess.php.
References $ilUser, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by _checkAccess().
|
static |
lookup registrations
public
@return |
Definition at line 126 of file class.ilObjSessionAccess.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
|
staticprotected |
Definition at line 37 of file class.ilObjSessionAccess.php.
|
staticprotected |
Definition at line 36 of file class.ilObjSessionAccess.php.