ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
executeCommand () | |
book () | |
First step in booking process. More... | |
assignParticipants () | |
bookMultipleParticipants () | |
Create reservations for a bunch of booking pool participants. More... | |
redirectToList () | |
saveMultipleBookings () | |
Save multiple users reservations for one booking pool object. More... | |
confirmedBooking () | |
processBooking (int $a_object_id, int $a_from=null, int $a_to=null, int $a_group_id=null) | |
Book object for date. More... | |
confirmBookingNumbers (array $a_objects_counter, int $a_group_id, ilPropertyFormGUI $a_form=null) | |
confirmedBookingNumbers () | |
displayPostInfo () | |
Display post booking informations. More... | |
deliverPostFile () | |
Deliver post booking file. More... | |
Protected Member Functions | |
back () | |
setHelpId (string $a_id) | |
checkPermissionBool (string $a_perm) | |
checkPermission (string $a_perm) | |
saveParticipant () | |
save booking participant More... | |
initBookingNumbersForm (array $a_objects_counter, int $a_group_id, bool $a_reload=false, ?array $new_values=null) | |
addDaysDate (string $a_date, int $a_days) | |
addDaysStamp (int $a_stamp, int $a_days) | |
handleBookingSuccess (int $a_obj_id, array $a_rsv_ids=null) | |
Protected Attributes | |
array | $raw_post_data |
ILIAS BookingManager StandardGUIRequest | $book_request |
ilObjBookingPool | $pool |
int | $booking_object_id |
int | $user_id_to_book |
int | $user_id_assigner |
string | $seed |
string | $sseed |
ilBookingHelpAdapter | $help |
int | $context_obj_id |
ilCtrl | $ctrl |
ilGlobalTemplateInterface | $tpl |
ilLanguage | $lng |
ilAccessHandler | $access |
ilTabsGUI | $tabs_gui |
ilObjUser | $user |
int | $book_obj_id |
array | $rsv_ids = [] |
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 Booking process ui class
Definition at line 23 of file class.ilBookingProcessGUI.php.
|
protected |
Definition at line 961 of file class.ilBookingProcessGUI.php.
Referenced by confirmedBookingNumbers().
|
protected |
Definition at line 970 of file class.ilBookingProcessGUI.php.
Referenced by confirmedBookingNumbers().
ilBookingProcessGUI::assignParticipants | ( | ) |
Definition at line 487 of file class.ilBookingProcessGUI.php.
References $book_obj_id, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
protected |
Definition at line 113 of file class.ilBookingProcessGUI.php.
References ILIAS\Repository\ctrl().
Referenced by bookMultipleParticipants(), checkPermission(), confirmedBookingNumbers(), handleBookingSuccess(), and saveMultipleBookings().
ilBookingProcessGUI::book | ( | ) |
First step in booking process.
Definition at line 149 of file class.ilBookingProcessGUI.php.
References $i, $id, $ilUser, $tpl, $user, ilCalendarUtil\_buildWeekDayList(), ilCalendarAppointmentColors\_getColorsByType(), ilCalendarUserSettings\_getInstanceByUserId(), ilCalendarUtil\_numericDayToString(), ilCalendarUtil\_numericMonthToString(), ilCalendarUtil\calculateFontColor(), ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ilBookingSchedule\getAvailabilityFrom(), ilBookingSchedule\getAvailabilityTo(), ilBookingReservation\getAvailableObject(), ilBookingSchedule\getDeadline(), ilBookingSchedule\getDefinition(), ilBookingSchedule\getRaster(), IL_CAL_DATE, IL_CAL_FKT_GETDATE, IL_CAL_UNIX, ILIAS\Repository\int(), ILIAS\Repository\lng(), ilGlobalTemplateInterface\setContent(), setHelpId(), ilCalendarSettings\TIME_FORMAT_12, ilCalendarSettings\TIME_FORMAT_24, ilObjBookingPool\TYPE_FIX_SCHEDULE, ilDateTime\WEEK, and ilDateTime\YEAR.
Referenced by confirmedBooking().
ilBookingProcessGUI::bookMultipleParticipants | ( | ) |
Create reservations for a bunch of booking pool participants.
Definition at line 500 of file class.ilBookingProcessGUI.php.
References $id, $name, ilObjUser\_lookupFullname(), back(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilBookingReservation\numAvailableFromObjectNoSchedule().
|
protected |
Definition at line 133 of file class.ilBookingProcessGUI.php.
References back(), checkPermissionBool(), and ILIAS\Repository\lng().
Referenced by processBooking().
|
protected |
Definition at line 123 of file class.ilBookingProcessGUI.php.
References $access.
Referenced by checkPermission().
ilBookingProcessGUI::confirmBookingNumbers | ( | array | $a_objects_counter, |
int | $a_group_id, | ||
ilPropertyFormGUI | $a_form = null |
||
) |
Definition at line 708 of file class.ilBookingProcessGUI.php.
References $tpl, ILIAS\Repository\ctrl(), initBookingNumbersForm(), ILIAS\Repository\lng(), and ilGlobalTemplateInterface\setContent().
Referenced by confirmedBooking(), and confirmedBookingNumbers().
ilBookingProcessGUI::confirmedBooking | ( | ) |
Definition at line 579 of file class.ilBookingProcessGUI.php.
References $book_obj_id, Vendor\Package\$f, book(), confirmBookingNumbers(), ILIAS\Repository\ctrl(), ilBookingReservation\getAvailableObject(), ilBookingObject\getNrOfItemsForObjects(), ilBookingReservation\getObjectReservationForUser(), handleBookingSuccess(), ILIAS\Repository\int(), ilBookingReservation\isObjectAvailableNoSchedule(), ILIAS\Repository\lng(), processBooking(), saveParticipant(), and ilObjBookingPool\TYPE_FIX_SCHEDULE.
ilBookingProcessGUI::confirmedBookingNumbers | ( | ) |
Definition at line 828 of file class.ilBookingProcessGUI.php.
References $id, $parts, addDaysDate(), addDaysStamp(), back(), confirmBookingNumbers(), ilBookingReservation\getAvailableObject(), handleBookingSuccess(), IL_CAL_DATE, initBookingNumbersForm(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilCalendarUtil\parseIncomingDate(), processBooking(), and saveParticipant().
ilBookingProcessGUI::deliverPostFile | ( | ) |
Deliver post booking file.
Definition at line 1105 of file class.ilBookingProcessGUI.php.
References $book_obj_id, $id, $user_id_assigner, ilFileDelivery\deliverFileLegacy(), and ilBookingReservation\getObjectReservationForUser().
ilBookingProcessGUI::displayPostInfo | ( | ) |
Display post booking informations.
Definition at line 1013 of file class.ilBookingProcessGUI.php.
References $book_obj_id, $ctrl, $id, ILIAS\LTI\ToolProvider\$key, $lng, $tpl, $url, ilDatePresentation\formatPeriod(), ilBookingReservation\getObjectReservationForUser(), IL_CAL_UNIX, ilGlobalTemplateInterface\setContent(), ilDatePresentation\setUseRelativeDates(), ilLanguage\txt(), and ilDatePresentation\useRelativeDates().
ilBookingProcessGUI::executeCommand | ( | ) |
Definition at line 89 of file class.ilBookingProcessGUI.php.
References $ctrl, ilCtrl\getCmd(), and ilCtrl\getNextClass().
|
protected |
Definition at line 989 of file class.ilBookingProcessGUI.php.
References back(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by confirmedBooking(), and confirmedBookingNumbers().
|
protected |
ilCtrlException | |
ilDateTimeException |
Definition at line 729 of file class.ilBookingProcessGUI.php.
References $id, ILIAS\Repository\ctrl(), ilDatePresentation\formatPeriod(), IL_CAL_UNIX, ILIAS\Repository\lng(), and ilFormPropertyGUI\setRequired().
Referenced by confirmBookingNumbers(), and confirmedBookingNumbers().
ilBookingProcessGUI::processBooking | ( | int | $a_object_id, |
int | $a_from = null , |
||
int | $a_to = null , |
||
int | $a_group_id = null |
||
) |
Book object for date.
ilDateTimeException |
Definition at line 663 of file class.ilBookingProcessGUI.php.
References ilCalendarCategoryAssignments\addAssignment(), checkPermission(), IL_CAL_UNIX, ilCalendarUtil\initDefaultCalendarByType(), ILIAS\Repository\lng(), and ilCalendarCategory\TYPE_BOOK.
Referenced by confirmedBooking(), confirmedBookingNumbers(), and saveMultipleBookings().
ilBookingProcessGUI::redirectToList | ( | ) |
Definition at line 541 of file class.ilBookingProcessGUI.php.
References ILIAS\Repository\ctrl().
ilBookingProcessGUI::saveMultipleBookings | ( | ) |
Save multiple users reservations for one booking pool object.
Definition at line 550 of file class.ilBookingProcessGUI.php.
References $id, back(), ILIAS\Repository\lng(), and processBooking().
|
protected |
save booking participant
Definition at line 653 of file class.ilBookingProcessGUI.php.
Referenced by confirmedBooking(), and confirmedBookingNumbers().
|
protected |
Definition at line 118 of file class.ilBookingProcessGUI.php.
References ILIAS\Repository\help().
Referenced by book().
|
protected |
Definition at line 38 of file class.ilBookingProcessGUI.php.
Referenced by checkPermissionBool().
|
protected |
Definition at line 41 of file class.ilBookingProcessGUI.php.
Referenced by assignParticipants(), confirmedBooking(), deliverPostFile(), and displayPostInfo().
|
protected |
Definition at line 26 of file class.ilBookingProcessGUI.php.
|
protected |
Definition at line 28 of file class.ilBookingProcessGUI.php.
|
protected |
Definition at line 34 of file class.ilBookingProcessGUI.php.
|
protected |
Definition at line 35 of file class.ilBookingProcessGUI.php.
Referenced by displayPostInfo(), and executeCommand().
|
protected |
Definition at line 33 of file class.ilBookingProcessGUI.php.
|
protected |
Definition at line 37 of file class.ilBookingProcessGUI.php.
Referenced by displayPostInfo().
|
protected |
Definition at line 27 of file class.ilBookingProcessGUI.php.
|
protected |
Definition at line 25 of file class.ilBookingProcessGUI.php.
|
protected |
Definition at line 42 of file class.ilBookingProcessGUI.php.
|
protected |
Definition at line 31 of file class.ilBookingProcessGUI.php.
|
protected |
Definition at line 32 of file class.ilBookingProcessGUI.php.
|
protected |
Definition at line 39 of file class.ilBookingProcessGUI.php.
|
protected |
Definition at line 36 of file class.ilBookingProcessGUI.php.
Referenced by book(), confirmBookingNumbers(), and displayPostInfo().
|
protected |
Definition at line 40 of file class.ilBookingProcessGUI.php.
Referenced by book().
|
protected |
Definition at line 30 of file class.ilBookingProcessGUI.php.
Referenced by deliverPostFile().
|
protected |
Definition at line 29 of file class.ilBookingProcessGUI.php.