ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Reservations screen. More...
Public Member Functions | |
__construct (ilObjBookingPool $pool, ilBookingHelpAdapter $help, int $context_obj_id=0) | |
ilBookingReservationsGUI constructor. More... | |
executeCommand () | |
Execute command. More... | |
log () | |
List reservations. More... | |
logDetails () | |
changeStatusObject () | |
Change status of given reservations. More... | |
applyLogFilter () | |
Apply filter from reservations table gui. More... | |
resetLogFilter () | |
Reset filter in reservations table gui. More... | |
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 ($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 ($reservation_id=null) | |
Get reservationsTable. More... | |
checkPermissionBool ($a_perm) | |
Check permission. More... | |
back () | |
Back to reservation list. More... | |
showRerunPreferenceAssignment () | |
confirmResetRun () | |
resetRun () | |
Protected Attributes | |
$help | |
$context_obj_id | |
Reservations screen.
Definition at line 11 of file class.ilBookingReservationsGUI.php.
ilBookingReservationsGUI::__construct | ( | ilObjBookingPool | $pool, |
ilBookingHelpAdapter | $help, | ||
int | $context_obj_id = 0 |
||
) |
ilBookingReservationsGUI constructor.
ilObjBookingPool | $pool | |
ilBookingHelpAdapter | $help | |
int | $context_obj_id | filter ui for a context object (e.g. course) |
ilException |
Definition at line 30 of file class.ilBookingReservationsGUI.php.
References $_GET, $context_obj_id, $DIC, $help, ilObject\getRefId(), help(), ilBookingObject\lookupPoolId(), ilUtil\stripSlashes(), ui(), and user().
ilBookingReservationsGUI::applyLogFilter | ( | ) |
Apply filter from reservations table gui.
Definition at line 190 of file class.ilBookingReservationsGUI.php.
References getReservationsTable(), and log().
|
protected |
Back to reservation list.
Definition at line 290 of file class.ilBookingReservationsGUI.php.
Referenced by rsvCancelUser(), rsvConfirmCancel(), and rsvConfirmDelete().
ilBookingReservationsGUI::changeStatusObject | ( | ) |
Change status of given reservations.
Definition at line 172 of file class.ilBookingReservationsGUI.php.
References $_POST, ilBookingReservation\changeStatus(), checkPermissionBool(), log(), and ilUtil\sendFailure().
|
protected |
Check permission.
$a_perm |
Definition at line 215 of file class.ilBookingReservationsGUI.php.
Referenced by changeStatusObject(), confirmResetRun(), getReservationsTable(), resetRun(), rsvCancel(), rsvConfirmCancel(), rsvConfirmDelete(), rsvDelete(), and showRerunPreferenceAssignment().
|
protected |
Definition at line 653 of file class.ilBookingReservationsGUI.php.
References checkPermissionBool(), and ui().
ilBookingReservationsGUI::executeCommand | ( | ) |
Execute command.
Definition at line 84 of file class.ilBookingReservationsGUI.php.
|
protected |
Reservations IDs as currently provided from.
Definition at line 70 of file class.ilBookingReservationsGUI.php.
References $_POST.
Referenced by rsvConfirmCancel(), and rsvConfirmDelete().
|
protected |
Get reservationsTable.
string | $reservation_id |
Definition at line 125 of file class.ilBookingReservationsGUI.php.
References $_GET, checkPermissionBool(), and ilObjBookingPool\TYPE_FIX_SCHEDULE.
Referenced by applyLogFilter(), log(), logDetails(), and resetLogFilter().
ilBookingReservationsGUI::log | ( | ) |
List reservations.
Definition at line 111 of file class.ilBookingReservationsGUI.php.
References $tpl, getReservationsTable(), and showRerunPreferenceAssignment().
Referenced by applyLogFilter(), changeStatusObject(), resetLogFilter(), and rsvCancel().
ilBookingReservationsGUI::logDetails | ( | ) |
Definition at line 155 of file class.ilBookingReservationsGUI.php.
References $tpl, and getReservationsTable().
ilBookingReservationsGUI::resetLogFilter | ( | ) |
Reset filter in reservations table gui.
Definition at line 201 of file class.ilBookingReservationsGUI.php.
References getReservationsTable(), and log().
|
protected |
Definition at line 676 of file class.ilBookingReservationsGUI.php.
References checkPermissionBool(), and ilObjBookingPool\TYPE_NO_SCHEDULE_PREFERENCES.
ilBookingReservationsGUI::rsvCancel | ( | ) |
(C2.b) Cancel reservations (coming from C2 or C2.a)
Definition at line 481 of file class.ilBookingReservationsGUI.php.
References $_POST, $ilUser, $lng, $res, $tpl, checkPermissionBool(), log(), rsvConfirmCancelAggregationForm(), ilUtil\sendFailure(), ilBookingReservation\STATUS_CANCELLED, and ilObjBookingPool\TYPE_NO_SCHEDULE.
ilBookingReservationsGUI::rsvCancelUser | ( | ) |
(C1.a) Confirmed (C1)
Definition at line 262 of file class.ilBookingReservationsGUI.php.
References $lng, back(), ilBookingReservation\getObjectReservationForUser(), ilUtil\sendFailure(), and ilBookingReservation\STATUS_CANCELLED.
ilBookingReservationsGUI::rsvConfirmCancel | ( | ) |
(C2) Confirmation screen for canceling booking from reservations screen (with and without schedule)
Definition at line 298 of file class.ilBookingReservationsGUI.php.
References $ilUser, $lng, $tpl, back(), checkPermissionBool(), ilDatePresentation\formatPeriod(), ilBookingReservation\getCancelDetails(), ilBookingObject\getList(), getLogReservationIds(), ilBookingObject\getTitle(), IL_CAL_UNIX, rsvConfirmCancelAggregation(), setHelpId(), 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)
array | null | $a_ids |
Definition at line 388 of file class.ilBookingReservationsGUI.php.
References $lng, $tpl, rsvConfirmCancelAggregationForm(), ilUtil\sendQuestion(), and setHelpId().
Referenced by rsvConfirmCancel().
ilBookingReservationsGUI::rsvConfirmCancelAggregationForm | ( | $a_ids | ) |
Form being used in (C2.a)
$a_ids |
Definition at line 416 of file class.ilBookingReservationsGUI.php.
References $_POST, ilDatePresentation\formatPeriod(), ilBookingObject\getTitle(), IL_CAL_UNIX, 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 235 of file class.ilBookingReservationsGUI.php.
References $lng, $tpl, $type, and setHelpId().
ilBookingReservationsGUI::rsvConfirmDelete | ( | ) |
Definition at line 550 of file class.ilBookingReservationsGUI.php.
References $DIC, back(), checkPermissionBool(), ilDatePresentation\formatPeriod(), ilBookingReservation\getCancelDetails(), getLogReservationIds(), ilBookingObject\getTitle(), IL_CAL_UNIX, ilUtil\sendFailure(), and ilObjBookingPool\TYPE_FIX_SCHEDULE.
ilBookingReservationsGUI::rsvDelete | ( | ) |
Definition at line 602 of file class.ilBookingReservationsGUI.php.
References $DIC, $res, checkPermissionBool(), ilBookingReservation\getCancelDetails(), ilUtil\sendFailure(), ilObjBookingPool\TYPE_FIX_SCHEDULE, and ilObjBookingPool\TYPE_NO_SCHEDULE.
|
protected |
string | $a_id |
Definition at line 103 of file class.ilBookingReservationsGUI.php.
References help().
Referenced by rsvConfirmCancel(), rsvConfirmCancelAggregation(), and rsvConfirmCancelUser().
|
protected |
Definition at line 637 of file class.ilBookingReservationsGUI.php.
References checkPermissionBool(), ilObjBookingPool\TYPE_NO_SCHEDULE_PREFERENCES, and ui().
Referenced by log().
|
protected |
Definition at line 21 of file class.ilBookingReservationsGUI.php.
Referenced by __construct().
|
protected |
Definition at line 16 of file class.ilBookingReservationsGUI.php.
Referenced by __construct().