|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Booking process ui class. More...
Collaboration diagram for ilBookingProcessGUI:Public Member Functions | |
| __construct (ilObjBookingPool $pool, int $booking_object_id, ilBookingHelpAdapter $help, string $seed="", string $sseed="", int $context_obj_id=0) | |
| Constructor. More... | |
| executeCommand () | |
| Execute command. More... | |
| 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 () | |
| Book object - either of type or specific - for given dates. More... | |
| processBooking ($a_object_id, $a_from=null, $a_to=null, $a_group_id=null) | |
| Book object for date. More... | |
| confirmBookingNumbers (array $a_objects_counter, $a_group_id, ilPropertyFormGUI $a_form=null) | |
| confirmedBookingNumbers () | |
| displayPostInfo () | |
| Display post booking informatins. More... | |
| deliverPostFile () | |
| Deliver post booking file. More... | |
Protected Member Functions | |
| back () | |
| Back to parent. More... | |
| setHelpId (string $a_id) | |
| checkPermissionBool ($a_perm) | |
| Check permission. More... | |
| checkPermission ($a_perm) | |
| Check permission. More... | |
| saveParticipant () | |
| save booking participant. More... | |
| initBookingNumbersForm (array $a_objects_counter, $a_group_id, $a_reload=false) | |
| addDaysDate ($a_date, $a_days) | |
| addDaysStamp ($a_stamp, $a_days) | |
| handleBookingSuccess ($a_obj_id, array $a_rsv_ids=null) | |
Protected Attributes | |
| $pool | |
| $booking_object_id | |
| $user_id_to_book | |
| $user_id_assigner | |
| $seed | |
| $help | |
| $context_obj_id | |
Booking process ui class.
Definition at line 11 of file class.ilBookingProcessGUI.php.
| ilBookingProcessGUI::__construct | ( | ilObjBookingPool | $pool, |
| int | $booking_object_id, | ||
| ilBookingHelpAdapter | $help, | ||
| string | $seed = "", |
||
| string | $sseed = "", |
||
| int | $context_obj_id = 0 |
||
| ) |
Constructor.
Definition at line 52 of file class.ilBookingProcessGUI.php.
References $_GET, $booking_object_id, $context_obj_id, $DIC, $help, $pool, $seed, $user_id_assigner, help(), and user().
Here is the call graph for this function:
|
protected |
Definition at line 966 of file class.ilBookingProcessGUI.php.
Referenced by confirmedBookingNumbers().
Here is the caller graph for this function:
|
protected |
Definition at line 973 of file class.ilBookingProcessGUI.php.
Referenced by confirmedBookingNumbers().
Here is the caller graph for this function:| ilBookingProcessGUI::assignParticipants | ( | ) |
Definition at line 520 of file class.ilBookingProcessGUI.php.
|
protected |
Back to parent.
Definition at line 120 of file class.ilBookingProcessGUI.php.
Referenced by bookMultipleParticipants(), checkPermission(), confirmedBookingNumbers(), handleBookingSuccess(), and saveMultipleBookings().
Here is the caller graph for this function:| ilBookingProcessGUI::book | ( | ) |
First step in booking process.
Definition at line 169 of file class.ilBookingProcessGUI.php.
References $tpl, setHelpId(), and ilObjBookingPool\TYPE_FIX_SCHEDULE.
Referenced by confirmedBooking().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingProcessGUI::bookMultipleParticipants | ( | ) |
Create reservations for a bunch of booking pool participants.
Definition at line 533 of file class.ilBookingProcessGUI.php.
References $_POST, $name, ilObjUser\_lookupFullname(), back(), and ilBookingReservation\numAvailableFromObjectNoSchedule().
Here is the call graph for this function:
|
protected |
Check permission.
| $a_perm |
Definition at line 153 of file class.ilBookingProcessGUI.php.
References back(), checkPermissionBool(), and ilUtil\sendFailure().
Referenced by processBooking().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Check permission.
| $a_perm |
Definition at line 138 of file class.ilBookingProcessGUI.php.
Referenced by checkPermission().
Here is the caller graph for this function:| ilBookingProcessGUI::confirmBookingNumbers | ( | array | $a_objects_counter, |
| $a_group_id, | |||
| ilPropertyFormGUI | $a_form = null |
||
| ) |
Definition at line 740 of file class.ilBookingProcessGUI.php.
References $tpl, and initBookingNumbersForm().
Referenced by confirmedBooking(), and confirmedBookingNumbers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingProcessGUI::confirmedBooking | ( | ) |
Book object - either of type or specific - for given dates.
Definition at line 615 of file class.ilBookingProcessGUI.php.
References $_POST, Vendor\Package\$f, $success, book(), confirmBookingNumbers(), ilBookingReservation\getAvailableObject(), ilBookingObject\getNrOfItemsForObjects(), ilBookingReservation\getObjectReservationForUser(), handleBookingSuccess(), ilBookingReservation\isObjectAvailableNoSchedule(), processBooking(), saveParticipant(), ilUtil\sendFailure(), and ilObjBookingPool\TYPE_FIX_SCHEDULE.
Here is the call graph for this function:| ilBookingProcessGUI::confirmedBookingNumbers | ( | ) |
Definition at line 844 of file class.ilBookingProcessGUI.php.
References $_POST, $success, addDaysDate(), addDaysStamp(), back(), confirmBookingNumbers(), ilBookingReservation\getAvailableObject(), handleBookingSuccess(), IL_CAL_DATE, initBookingNumbersForm(), ilCalendarUtil\parseIncomingDate(), processBooking(), saveParticipant(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilBookingProcessGUI::deliverPostFile | ( | ) |
Deliver post booking file.
Definition at line 1099 of file class.ilBookingProcessGUI.php.
References ilUtil\deliverFile(), and ilBookingReservation\getObjectReservationForUser().
Here is the call graph for this function:| ilBookingProcessGUI::displayPostInfo | ( | ) |
Display post booking informatins.
Definition at line 1012 of file class.ilBookingProcessGUI.php.
References $ilCtrl, $lng, $tpl, $url, ilDatePresentation\formatPeriod(), ilBookingReservation\getObjectReservationForUser(), IL_CAL_UNIX, ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
Here is the call graph for this function:| ilBookingProcessGUI::executeCommand | ( | ) |
Execute command.
Definition at line 94 of file class.ilBookingProcessGUI.php.
|
protected |
Definition at line 990 of file class.ilBookingProcessGUI.php.
References back().
Referenced by confirmedBooking(), and confirmedBookingNumbers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 755 of file class.ilBookingProcessGUI.php.
References $section, ilDatePresentation\formatPeriod(), and IL_CAL_UNIX.
Referenced by confirmBookingNumbers(), and confirmedBookingNumbers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingProcessGUI::processBooking | ( | $a_object_id, | |
$a_from = null, |
|||
$a_to = null, |
|||
$a_group_id = null |
|||
| ) |
Book object for date.
| int | $a_object_id | |
| int | $a_from | timestamp |
| int | $a_to | timestamp |
| int | $a_group_id |
Definition at line 701 of file class.ilBookingProcessGUI.php.
References checkPermission(), IL_CAL_UNIX, ilCalendarUtil\initDefaultCalendarByType(), ilCalendarEntry\setStart(), and ilCalendarCategory\TYPE_BOOK.
Referenced by confirmedBooking(), confirmedBookingNumbers(), and saveMultipleBookings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingProcessGUI::redirectToList | ( | ) |
Definition at line 574 of file class.ilBookingProcessGUI.php.
| ilBookingProcessGUI::saveMultipleBookings | ( | ) |
Save multiple users reservations for one booking pool object.
//TODO check if object/user exist in the DB,
Definition at line 583 of file class.ilBookingProcessGUI.php.
References $_POST, back(), processBooking(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
save booking participant.
Definition at line 687 of file class.ilBookingProcessGUI.php.
Referenced by confirmedBooking(), and confirmedBookingNumbers().
Here is the caller graph for this function:
|
protected |
| string | $a_id |
Definition at line 128 of file class.ilBookingProcessGUI.php.
References help().
Referenced by book().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 21 of file class.ilBookingProcessGUI.php.
Referenced by __construct().
|
protected |
Definition at line 47 of file class.ilBookingProcessGUI.php.
Referenced by __construct().
|
protected |
Definition at line 42 of file class.ilBookingProcessGUI.php.
Referenced by __construct().
|
protected |
Definition at line 16 of file class.ilBookingProcessGUI.php.
Referenced by __construct().
|
protected |
Definition at line 37 of file class.ilBookingProcessGUI.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilBookingProcessGUI.php.
Referenced by __construct().
|
protected |
Definition at line 27 of file class.ilBookingProcessGUI.php.