ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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... | |
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(), and user().
ilBookingReservationsGUI::applyLogFilter | ( | ) |
Apply filter from reservations table gui.
Definition at line 186 of file class.ilBookingReservationsGUI.php.
References getReservationsTable(), and log().
|
protected |
Back to reservation list.
Definition at line 286 of file class.ilBookingReservationsGUI.php.
Referenced by rsvCancelUser(), and rsvConfirmCancel().
ilBookingReservationsGUI::changeStatusObject | ( | ) |
Change status of given reservations.
Definition at line 168 of file class.ilBookingReservationsGUI.php.
References $_POST, ilBookingReservation\changeStatus(), checkPermissionBool(), log(), and ilUtil\sendFailure().
|
protected |
Check permission.
$a_perm |
Definition at line 211 of file class.ilBookingReservationsGUI.php.
Referenced by changeStatusObject(), getReservationsTable(), rsvCancel(), rsvConfirmCancel(), rsvConfirmDelete(), and rsvDelete().
ilBookingReservationsGUI::executeCommand | ( | ) |
Execute command.
Definition at line 81 of file class.ilBookingReservationsGUI.php.
|
protected |
Reservations IDs as currently provided from.
Definition at line 67 of file class.ilBookingReservationsGUI.php.
References $_POST.
Referenced by rsvConfirmCancel().
|
protected |
Get reservationsTable.
string | $reservation_id |
Definition at line 121 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 108 of file class.ilBookingReservationsGUI.php.
References $tpl, and getReservationsTable().
Referenced by applyLogFilter(), changeStatusObject(), resetLogFilter(), and rsvCancel().
ilBookingReservationsGUI::logDetails | ( | ) |
Definition at line 151 of file class.ilBookingReservationsGUI.php.
References $tpl, and getReservationsTable().
ilBookingReservationsGUI::resetLogFilter | ( | ) |
Reset filter in reservations table gui.
Definition at line 197 of file class.ilBookingReservationsGUI.php.
References getReservationsTable(), and log().
ilBookingReservationsGUI::rsvCancel | ( | ) |
(C2.b) Cancel reservations (coming from C2 or C2.a)
Definition at line 477 of file class.ilBookingReservationsGUI.php.
References $_POST, $ilCtrl, $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 258 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 294 of file class.ilBookingReservationsGUI.php.
References $ilCtrl, $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 384 of file class.ilBookingReservationsGUI.php.
References $ilCtrl, $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 412 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 231 of file class.ilBookingReservationsGUI.php.
References $ilCtrl, $lng, $tpl, $type, and setHelpId().
ilBookingReservationsGUI::rsvConfirmDelete | ( | ) |
Definition at line 546 of file class.ilBookingReservationsGUI.php.
References $DIC, checkPermissionBool(), ilDatePresentation\formatPeriod(), ilBookingReservation\getCancelDetails(), ilBookingObject\getTitle(), IL_CAL_UNIX, ilUtil\sendFailure(), and ilObjBookingPool\TYPE_FIX_SCHEDULE.
ilBookingReservationsGUI::rsvDelete | ( | ) |
Definition at line 590 of file class.ilBookingReservationsGUI.php.
References $DIC, $res, checkPermissionBool(), ilUtil\sendFailure(), and ilObjBookingPool\TYPE_NO_SCHEDULE.
|
protected |
string | $a_id |
Definition at line 100 of file class.ilBookingReservationsGUI.php.
References help().
Referenced by rsvConfirmCancel(), rsvConfirmCancelAggregation(), and rsvConfirmCancelUser().
|
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().