|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
This class is used for inegration 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, $main_host_ref_id=0) | |
| Constructor. More... | |
| executeCommand () | |
| Execute command. More... | |
| initSettingsForm () | |
| Init settings form. More... | |
| saveSettings () | |
| Save settings form. More... | |
Protected Member Functions | |
| initPool () | |
| Init pool. More... | |
| showPoolSelector ($return_to) | |
| Pool selector. More... | |
| selectPool () | |
| Select pool. More... | |
| setSubTabs ($active) | |
| Set sub tabs. More... | |
| show () | |
| Show. More... | |
| settings () | |
| Settings. More... | |
| checkBookingPoolsForSchedules ($ids) | |
| Check if all pools have schedules. More... | |
Protected Attributes | |
| $ctrl | |
| $lng | |
| $main_tpl | |
| $parent_gui | |
| $tabs | |
| $obj_id | |
| $ref_id | |
| $current_settings | |
| $current_pool_ref_id | |
| $pool = null | |
| $toolbar | |
| $main_host_ref_id = 0 | |
| $pools_selected = false | |
This class is used for inegration of the booking manager as a service into other repository objects, e.g.
courses.
@ilCtrl_Calls ilBookingGatewayGUI: ilPropertyFormGUI, ilBookingObjectServiceGUI, ilBookingReservationsGUI
Definition at line 15 of file class.ilBookingGatewayGUI.php.
| ilBookingGatewayGUI::__construct | ( | ilObjectGUI | $parent_gui, |
$main_host_ref_id = 0 |
|||
| ) |
Constructor.
Definition at line 86 of file class.ilBookingGatewayGUI.php.
References $_GET, $DIC, $main_host_ref_id, $parent_gui, help(), initPool(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Check if all pools have schedules.
| int[] | $ids | pool ref ids |
Definition at line 389 of file class.ilBookingGatewayGUI.php.
References ilObject\_lookupObjectId(), and ilBookingSchedule\hasExistingSchedules().
Referenced by saveSettings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingGatewayGUI::executeCommand | ( | ) |
Execute command.
| ilCtrlException |
Definition at line 174 of file class.ilBookingGatewayGUI.php.
References $ctrl, help(), initSettingsForm(), setSubTabs(), and showPoolSelector().
Here is the call graph for this function:
|
protected |
Init pool.
Determin 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 143 of file class.ilBookingGatewayGUI.php.
References $_GET, $_POST, $ctrl, and ilObject\_lookupObjId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingGatewayGUI::initSettingsForm | ( | ) |
Init settings form.
Definition at line 317 of file class.ilBookingGatewayGUI.php.
Referenced by executeCommand(), saveSettings(), and settings().
Here is the caller graph for this function:| ilBookingGatewayGUI::saveSettings | ( | ) |
Save settings form.
Definition at line 344 of file class.ilBookingGatewayGUI.php.
References $ctrl, $i, $lng, $main_tpl, checkBookingPoolsForSchedules(), initSettingsForm(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
Select pool.
Definition at line 242 of file class.ilBookingGatewayGUI.php.
|
protected |
Set sub tabs.
| $active |
Definition at line 254 of file class.ilBookingGatewayGUI.php.
References $ctrl, $lng, and $tabs.
Referenced by executeCommand(), and settings().
Here is the caller graph for this function:
|
protected |
Settings.
Definition at line 306 of file class.ilBookingGatewayGUI.php.
References $main_tpl, initSettingsForm(), and setSubTabs().
Here is the call graph for this function:
|
protected |
Show.
Definition at line 287 of file class.ilBookingGatewayGUI.php.
References $ctrl, and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
Pool selector.
Definition at line 220 of file class.ilBookingGatewayGUI.php.
References $ref_id, $si, ilObject\_lookupObjectId(), 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 20 of file class.ilBookingGatewayGUI.php.
Referenced by executeCommand(), initPool(), initSettingsForm(), saveSettings(), setSubTabs(), and show().
|
protected |
Definition at line 60 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 55 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 25 of file class.ilBookingGatewayGUI.php.
Referenced by initSettingsForm(), saveSettings(), and setSubTabs().
|
protected |
Definition at line 75 of file class.ilBookingGatewayGUI.php.
Referenced by __construct().
|
protected |
Definition at line 30 of file class.ilBookingGatewayGUI.php.
Referenced by saveSettings(), and settings().
|
protected |
Definition at line 45 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 35 of file class.ilBookingGatewayGUI.php.
Referenced by __construct().
|
protected |
Definition at line 65 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 81 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 50 of file class.ilBookingGatewayGUI.php.
Referenced by showPoolSelector().
|
protected |
Definition at line 40 of file class.ilBookingGatewayGUI.php.
Referenced by setSubTabs().
|
protected |
Definition at line 70 of file class.ilBookingGatewayGUI.php.