|
ILIAS
release_8 Revision v8.24
|
This class is used for integration of the booking manager as a service into other repository objects, e.g. More...
Collaboration diagram for ilBookingGatewayGUI:Public Member Functions | |
| __construct (ilObjectGUI $parent_gui, int $main_host_ref_id=0) | |
| executeCommand () | |
| initSettingsForm () | |
| saveSettings () | |
Protected Member Functions | |
| initPool () | |
| Init pool. More... | |
| showPoolSelector (string $return_to) | |
| selectPool () | |
| setSubTabs (string $active) | |
| show () | |
| settings () | |
| checkBookingPoolsForSchedules (array $ids) | |
| Check if all pools have schedules. More... | |
Protected Attributes | |
| BookingManager StandardGUIRequest | $book_request |
| ilCtrl | $ctrl |
| ilLanguage | $lng |
| ilGlobalTemplateInterface | $main_tpl |
| ilObjectGUI | $parent_gui |
| ilTabsGUI | $tabs |
| int | $obj_id |
| int | $ref_id |
| ilObjBookingServiceSettings | $current_settings |
| int | $current_pool_ref_id |
| ilObjBookingPool | $pool = null |
| ilToolbarGUI | $toolbar |
| int | $main_host_ref_id = 0 |
| bool | $pools_selected = false |
| string | $seed |
| string | $sseed |
| ilObjUseBookDBRepository | $use_book_repo |
| string | $return_to = "" |
| ilBookingHelpAdapter | $help |
This class is used for integration of the booking manager as a service into other repository objects, e.g.
courses. @ilCtrl_Calls ilBookingGatewayGUI: ilPropertyFormGUI, ilBookingObjectServiceGUI, ilBookingReservationsGUI
Definition at line 27 of file class.ilBookingGatewayGUI.php.
| ilBookingGatewayGUI::__construct | ( | ilObjectGUI | $parent_gui, |
| int | $main_host_ref_id = 0 |
||
| ) |
Definition at line 50 of file class.ilBookingGatewayGUI.php.
References $DIC, $main_host_ref_id, $parent_gui, ILIAS\Repository\ctrl(), ilObjectGUI\getObject(), ILIAS\Repository\help(), initPool(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:
|
protected |
Check if all pools have schedules.
| int[] | $ids | pool ref ids |
Definition at line 332 of file class.ilBookingGatewayGUI.php.
References ilObject\_lookupObjectId(), and ilBookingSchedule\hasExistingSchedules().
Here is the call graph for this function:| ilBookingGatewayGUI::executeCommand | ( | ) |
| ilCtrlException | |
| ilException |
Definition at line 141 of file class.ilBookingGatewayGUI.php.
References $ctrl, ILIAS\Repository\ctrl(), ilCtrl\forwardCommand(), ilCtrl\getCmd(), ilCtrl\getNextClass(), ILIAS\Repository\help(), initSettingsForm(), ilCtrl\setReturn(), setSubTabs(), and showPoolSelector().
Here is the call graph for this function:
|
protected |
Init pool.
Determine the current pool in $this->current_pool_ref_id. Host objects (e.g. courses) may use multiple booking pools. This method determines the current selected pool (stored in request parameter "pool_ref_id") within the host object user interface. If no pool has been selected yet, the first one attached to the host object is choosen. If no pools are attached to the host object at all we get a 0 ID.
Definition at line 112 of file class.ilBookingGatewayGUI.php.
References $ctrl, ilObject\_lookupObjId(), ilCtrl\saveParameter(), and ilCtrl\setParameter().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingGatewayGUI::initSettingsForm | ( | ) |
Definition at line 265 of file class.ilBookingGatewayGUI.php.
References $lng, ilCtrl\getFormAction(), and ILIAS\Repository\lng().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingGatewayGUI::saveSettings | ( | ) |
Definition at line 289 of file class.ilBookingGatewayGUI.php.
References $i, $lng, and ilCtrl\redirect().
Here is the call graph for this function:
|
protected |
Definition at line 204 of file class.ilBookingGatewayGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 211 of file class.ilBookingGatewayGUI.php.
References $lng, ilTabsGUI\addSubTab(), and ilCtrl\getLinkTargetByClass().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 257 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 241 of file class.ilBookingGatewayGUI.php.
References ILIAS\Repository\lng(), ilCtrl\redirect(), and ilCtrl\redirectByClass().
Here is the call graph for this function:
|
protected |
Definition at line 184 of file class.ilBookingGatewayGUI.php.
References $ref_id, ilObject\_lookupObjId(), and ilObject\_lookupTitle().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 29 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 30 of file class.ilBookingGatewayGUI.php.
Referenced by executeCommand(), and initPool().
|
protected |
Definition at line 38 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 37 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 48 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 31 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 41 of file class.ilBookingGatewayGUI.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 35 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 33 of file class.ilBookingGatewayGUI.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 43 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 36 of file class.ilBookingGatewayGUI.php.
Referenced by showPoolSelector().
|
protected |
Definition at line 47 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 44 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 45 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 34 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 40 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 46 of file class.ilBookingGatewayGUI.php.