ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilObjBookingPool $pool, ilBookingHelpAdapter $help, int $context_obj_id=0) | |
executeCommand () | |
log () | |
List reservations. More... | |
logDetails () | |
changeStatusObject () | |
Change status of given reservations. More... | |
applyLogFilter () | |
resetLogFilter () | |
rsvConfirmCancelUser () | |
(C1) Confirmation screen for canceling booking without schedule from booking objects screen or from participants screen, if only one object has been selected. More... | |
rsvCancelUser () | |
(C1.a) Confirmed (C1) More... | |
rsvConfirmCancel () | |
(C2) Confirmation screen for canceling booking from reservations screen (with and without schedule) More... | |
rsvConfirmCancelAggregation (array $a_ids=null) | |
(C2.a) Cancel aggregated booking from reservations screen (with and without schedule) called in (C2) More... | |
rsvConfirmCancelAggregationForm (array $a_ids) | |
Form being used in (C2.a) More... | |
rsvCancel () | |
(C2.b) Cancel reservations (coming from C2 or C2.a) More... | |
rsvConfirmDelete () | |
rsvDelete () | |
Protected Member Functions | |
getLogReservationIds () | |
Reservations IDs as currently provided from. More... | |
setHelpId (string $a_id) | |
getReservationsTable (?string $reservation_id=null) | |
Get reservationsTable. More... | |
checkPermissionBool (string $a_perm) | |
back () | |
Back to reservation list. More... | |
showRerunPreferenceAssignment () | |
confirmResetRun () | |
resetRun () | |
Protected Attributes | |
ilToolbarGUI | $toolbar |
ILIAS DI UIServices | $ui |
ILIAS BookingManager InternalService | $service |
array | $raw_post_data |
ILIAS BookingManager StandardGUIRequest | $book_request |
ilBookingHelpAdapter | $help |
int | $context_obj_id |
ilCtrl | $ctrl |
ilGlobalTemplateInterface | $tpl |
ilLanguage | $lng |
ilAccessHandler | $access |
ilTabsGUI | $tabs_gui |
ilObjUser | $user |
ilObjBookingPool | $pool |
int | $ref_id |
int | $book_obj_id |
int | $pbooked_user |
string | $reservation_id |
int | $booked_user |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Reservations screen
Definition at line 23 of file class.ilBookingReservationsGUI.php.
ilBookingReservationsGUI::__construct | ( | ilObjBookingPool | $pool, |
ilBookingHelpAdapter | $help, | ||
int | $context_obj_id = 0 |
||
) |
Definition at line 45 of file class.ilBookingReservationsGUI.php.
References $context_obj_id, $DIC, $help, $pool, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilObject\getRefId(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ilBookingObject\lookupPoolId(), ILIAS\Repository\toolbar(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
ilBookingReservationsGUI::applyLogFilter | ( | ) |
Definition at line 206 of file class.ilBookingReservationsGUI.php.
References getReservationsTable(), and log().
|
protected |
Back to reservation list.
Definition at line 296 of file class.ilBookingReservationsGUI.php.
References ILIAS\Repository\ctrl().
Referenced by rsvCancelUser(), rsvConfirmCancel(), and rsvConfirmDelete().
ilBookingReservationsGUI::changeStatusObject | ( | ) |
Change status of given reservations.
Definition at line 187 of file class.ilBookingReservationsGUI.php.
References ilBookingReservation\changeStatus(), checkPermissionBool(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and log().
|
protected |
Definition at line 222 of file class.ilBookingReservationsGUI.php.
References ILIAS\Repository\access().
Referenced by changeStatusObject(), confirmResetRun(), getReservationsTable(), resetRun(), rsvCancel(), rsvConfirmCancel(), rsvConfirmDelete(), rsvDelete(), and showRerunPreferenceAssignment().
|
protected |
Definition at line 651 of file class.ilBookingReservationsGUI.php.
References checkPermissionBool(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
ilBookingReservationsGUI::executeCommand | ( | ) |
Definition at line 105 of file class.ilBookingReservationsGUI.php.
References $ctrl, ilCtrl\getCmd(), and ilCtrl\getNextClass().
|
protected |
Reservations IDs as currently provided from.
Definition at line 93 of file class.ilBookingReservationsGUI.php.
Referenced by rsvConfirmCancel(), and rsvConfirmDelete().
|
protected |
Get reservationsTable.
Definition at line 140 of file class.ilBookingReservationsGUI.php.
References $book_obj_id, checkPermissionBool(), and ilObjBookingPool\TYPE_FIX_SCHEDULE.
Referenced by applyLogFilter(), log(), logDetails(), and resetLogFilter().
ilBookingReservationsGUI::log | ( | ) |
List reservations.
Definition at line 129 of file class.ilBookingReservationsGUI.php.
References $tpl, getReservationsTable(), ilGlobalTemplateInterface\setContent(), and showRerunPreferenceAssignment().
Referenced by applyLogFilter(), changeStatusObject(), resetLogFilter(), and rsvCancel().
ilBookingReservationsGUI::logDetails | ( | ) |
Definition at line 170 of file class.ilBookingReservationsGUI.php.
References $tpl, ILIAS\Repository\ctrl(), getReservationsTable(), ILIAS\Repository\lng(), and ilGlobalTemplateInterface\setContent().
ilBookingReservationsGUI::resetLogFilter | ( | ) |
Definition at line 214 of file class.ilBookingReservationsGUI.php.
References getReservationsTable(), and log().
|
protected |
Definition at line 674 of file class.ilBookingReservationsGUI.php.
References ILIAS\Repository\access(), checkPermissionBool(), ILIAS\Repository\ctrl(), and ilObjBookingPool\TYPE_NO_SCHEDULE_PREFERENCES.
ilBookingReservationsGUI::rsvCancel | ( | ) |
(C2.b) Cancel reservations (coming from C2 or C2.a)
Definition at line 478 of file class.ilBookingReservationsGUI.php.
References $ctrl, $id, $ilUser, $lng, $res, $tpl, $user, checkPermissionBool(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), log(), rsvConfirmCancelAggregationForm(), ilGlobalTemplateInterface\setContent(), ilBookingReservation\STATUS_CANCELLED, ilLanguage\txt(), and ilObjBookingPool\TYPE_NO_SCHEDULE.
ilBookingReservationsGUI::rsvCancelUser | ( | ) |
(C1.a) Confirmed (C1)
Definition at line 267 of file class.ilBookingReservationsGUI.php.
References $book_obj_id, $booked_user, $id, $lng, back(), ilBookingReservation\getObjectReservationForUser(), ilBookingReservation\STATUS_CANCELLED, and ilLanguage\txt().
ilBookingReservationsGUI::rsvConfirmCancel | ( | ) |
(C2) Confirmation screen for canceling booking from reservations screen (with and without schedule)
Definition at line 304 of file class.ilBookingReservationsGUI.php.
References $ctrl, ILIAS\LTI\ToolProvider\$details, $id, $ilUser, $lng, $tpl, $user, back(), checkPermissionBool(), ILIAS\Repository\ctrl(), ilDatePresentation\formatPeriod(), ilBookingReservation\getCancelDetails(), ilBookingObject\getList(), getLogReservationIds(), IL_CAL_UNIX, ILIAS\Repository\int(), rsvConfirmCancelAggregation(), ilGlobalTemplateInterface\setContent(), setHelpId(), ilLanguage\txt(), and ilObjBookingPool\TYPE_NO_SCHEDULE.
ilBookingReservationsGUI::rsvConfirmCancelAggregation | ( | array | $a_ids = null | ) |
(C2.a) Cancel aggregated booking from reservations screen (with and without schedule) called in (C2)
Definition at line 389 of file class.ilBookingReservationsGUI.php.
References $ctrl, $lng, $tpl, rsvConfirmCancelAggregationForm(), ilGlobalTemplateInterface\setContent(), setHelpId(), and ilLanguage\txt().
Referenced by rsvConfirmCancel().
ilBookingReservationsGUI::rsvConfirmCancelAggregationForm | ( | array | $a_ids | ) |
Form being used in (C2.a)
Definition at line 414 of file class.ilBookingReservationsGUI.php.
References $id, ILIAS\Repository\ctrl(), ilDatePresentation\formatPeriod(), ilBookingObject\getTitle(), IL_CAL_UNIX, ILIAS\Repository\lng(), and ilDatePresentation\setUseRelativeDates().
Referenced by rsvCancel(), and rsvConfirmCancelAggregation().
ilBookingReservationsGUI::rsvConfirmCancelUser | ( | ) |
(C1) Confirmation screen for canceling booking without schedule from booking objects screen or from participants screen, if only one object has been selected.
If the process is started form the booking objects screen, the current user is the owner of the reservation.
From the participants screen the user id is provided as bkusr
Definition at line 240 of file class.ilBookingReservationsGUI.php.
References $book_obj_id, $ctrl, $id, $lng, $tpl, $type, ilGlobalTemplateInterface\setContent(), setHelpId(), and ilLanguage\txt().
ilBookingReservationsGUI::rsvConfirmDelete | ( | ) |
Definition at line 548 of file class.ilBookingReservationsGUI.php.
References ILIAS\LTI\ToolProvider\$details, $DIC, $id, back(), checkPermissionBool(), ILIAS\Repository\ctrl(), ilDatePresentation\formatPeriod(), ilBookingReservation\getCancelDetails(), getLogReservationIds(), IL_CAL_UNIX, ILIAS\Repository\lng(), and ilObjBookingPool\TYPE_FIX_SCHEDULE.
ilBookingReservationsGUI::rsvDelete | ( | ) |
Definition at line 600 of file class.ilBookingReservationsGUI.php.
References $DIC, $id, $res, checkPermissionBool(), ILIAS\Repository\ctrl(), ilBookingReservation\getCancelDetails(), ILIAS\Repository\lng(), ilObjBookingPool\TYPE_FIX_SCHEDULE, and ilObjBookingPool\TYPE_NO_SCHEDULE.
|
protected |
Definition at line 121 of file class.ilBookingReservationsGUI.php.
References ILIAS\Repository\help().
Referenced by rsvConfirmCancel(), rsvConfirmCancelAggregation(), and rsvConfirmCancelUser().
|
protected |
Definition at line 635 of file class.ilBookingReservationsGUI.php.
References checkPermissionBool(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\toolbar(), ilObjBookingPool\TYPE_NO_SCHEDULE_PREFERENCES, and ILIAS\Repository\ui().
Referenced by log().
|
protected |
Definition at line 35 of file class.ilBookingReservationsGUI.php.
|
protected |
Definition at line 40 of file class.ilBookingReservationsGUI.php.
Referenced by getReservationsTable(), rsvCancelUser(), and rsvConfirmCancelUser().
|
protected |
Definition at line 29 of file class.ilBookingReservationsGUI.php.
|
protected |
Definition at line 43 of file class.ilBookingReservationsGUI.php.
Referenced by rsvCancelUser().
|
protected |
Definition at line 31 of file class.ilBookingReservationsGUI.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilBookingReservationsGUI.php.
Referenced by executeCommand(), rsvCancel(), rsvConfirmCancel(), rsvConfirmCancelAggregation(), and rsvConfirmCancelUser().
|
protected |
Definition at line 30 of file class.ilBookingReservationsGUI.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file class.ilBookingReservationsGUI.php.
Referenced by rsvCancel(), rsvCancelUser(), rsvConfirmCancel(), rsvConfirmCancelAggregation(), and rsvConfirmCancelUser().
|
protected |
Definition at line 41 of file class.ilBookingReservationsGUI.php.
|
protected |
Definition at line 38 of file class.ilBookingReservationsGUI.php.
Referenced by __construct().
|
protected |
Definition at line 28 of file class.ilBookingReservationsGUI.php.
|
protected |
Definition at line 39 of file class.ilBookingReservationsGUI.php.
|
protected |
Definition at line 42 of file class.ilBookingReservationsGUI.php.
|
protected |
Definition at line 27 of file class.ilBookingReservationsGUI.php.
|
protected |
Definition at line 36 of file class.ilBookingReservationsGUI.php.
|
protected |
Definition at line 25 of file class.ilBookingReservationsGUI.php.
|
protected |
Definition at line 33 of file class.ilBookingReservationsGUI.php.
Referenced by log(), logDetails(), rsvCancel(), rsvConfirmCancel(), rsvConfirmCancelAggregation(), and rsvConfirmCancelUser().
|
protected |
Definition at line 26 of file class.ilBookingReservationsGUI.php.
|
protected |
Definition at line 37 of file class.ilBookingReservationsGUI.php.
Referenced by rsvCancel(), and rsvConfirmCancel().