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) | |
Public Member Functions inherited from ilObjectAccess | |
_checkCondition ($a_obj_id, $a_operator, $a_value, $a_usr_id=0) | |
check condition | |
_getCommands () | |
get commands | |
_checkGoto ($a_target) | |
check whether goto script will succeed | |
_preloadData ($a_obj_ids, $a_ref_ids) | |
Preload data. |
Static Public Member Functions | |
static | _isAccessible ($a_ref_id) |
Check if target is accessible and not deleted. | |
Static Public Member Functions inherited from ilObjectAccess | |
static | _isOffline ($a_obj_id) |
Type-specific implementation of general status, has to be overwritten. |
Definition at line 36 of file class.ilContainerReferenceAccess.php.
ilContainerReferenceAccess::_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.
Reimplemented in ilObjCourseReferenceAccess.
Definition at line 50 of file class.ilContainerReferenceAccess.php.
|
static |
Check if target is accessible and not deleted.
int | $a_ref_id | ref_id |
Definition at line 68 of file class.ilContainerReferenceAccess.php.
References $query, $res, $row, $target_id, ilObject\_getAllReferences(), ilObject\_lookupObjId(), and DB_FETCHMODE_OBJECT.
Referenced by ilShopRepositoryExplorer\isClickable(), and ilRepositoryExplorer\isClickable().