ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct () | |
_checkAccess ($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id="") | |
isRegistrationLimitExceeded (int $ref_id, int $obj_id) | |
![]() | |
_checkAccess (string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null) | |
Checks whether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More... | |
canBeDelivered (ilWACPath $ilWACPath) | |
canBeDelivered (ilWACPath $ilWACPath) | |
Static Public Member Functions | |
static | _getCommands () |
get commands More... | |
static | _checkGoto ($a_target) |
static | _lookupRegistration (int $a_obj_id) |
static | _lookupRegistered (int $a_usr_id, int $a_obj_id) |
static | _preloadData ($a_obj_ids, $a_ref_ids) |
static | getBookingInfoRepo () |
![]() | |
static | _getCommands () |
get commands More... | |
static | _checkGoto (string $target) |
check whether goto script will succeed More... | |
static | _isOffline (int $obj_id) |
Type-specific implementation of general status, has to be overwritten if object type does not support centralized offline handling. More... | |
static | _preloadData (array $obj_ids, array $ref_ids) |
Preload data. More... | |
Protected Attributes | |
ilObjUser | $user |
Static Protected Attributes | |
static array | $registrations = null |
static array | $registered = null |
static ILIAS BookingManager Reservations ReservationDBRepository | $booking_repo = null |
ilObjSessionAccess::__construct | ( | ) |
Definition at line 35 of file class.ilObjSessionAccess.php.
References $DIC, and ILIAS\Repository\user().
ilObjSessionAccess::_checkAccess | ( | $a_cmd, | |
$a_permission, | |||
$a_ref_id, | |||
$a_obj_id, | |||
$a_user_id = "" |
|||
) |
Definition at line 56 of file class.ilObjSessionAccess.php.
References $DIC, $user, ilWaitingList\_isOnList(), ilParticipants\_isSubscriber(), _lookupRegistered(), ANONYMOUS_USER_ID, ilObject\getId(), and isRegistrationLimitExceeded().
|
static |
Definition at line 111 of file class.ilObjSessionAccess.php.
References $DIC.
|
static |
get commands
this method returns an array of all possible commands/permission combinations
example: $commands = array ( array("permission" => "read", "cmd" => "view", "lang_var" => "show"), array("permission" => "write", "cmd" => "edit", "lang_var" => "edit"), );
Reimplemented from ilObjectAccess.
Definition at line 42 of file class.ilObjSessionAccess.php.
Referenced by ilObjSessionListGUI\init().
|
static |
Definition at line 148 of file class.ilObjSessionAccess.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by _checkAccess().
|
static |
Definition at line 130 of file class.ilObjSessionAccess.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Definition at line 168 of file class.ilObjSessionAccess.php.
References $DIC.
|
static |
Definition at line 178 of file class.ilObjSessionAccess.php.
References $booking_repo.
Referenced by ilObjSessionListGUI\getProperties().
ilObjSessionAccess::isRegistrationLimitExceeded | ( | int | $ref_id, |
int | $obj_id | ||
) |
Definition at line 98 of file class.ilObjSessionAccess.php.
References $ref_id, and ilSessionParticipants\getInstance().
Referenced by _checkAccess().
|
staticprotected |
Definition at line 33 of file class.ilObjSessionAccess.php.
Referenced by getBookingInfoRepo().
|
staticprotected |
Definition at line 32 of file class.ilObjSessionAccess.php.
|
staticprotected |
Definition at line 31 of file class.ilObjSessionAccess.php.
|
protected |
Definition at line 30 of file class.ilObjSessionAccess.php.
Referenced by _checkAccess().