ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
This class is used for integration of the booking manager as a service into other repository objects, e.g. More...
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 InternalDomainService | $domain |
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 51 of file class.ilBookingGatewayGUI.php.
References $DIC, $handler, $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().
|
protected |
Check if all pools have schedules.
int[] | $ids | pool ref ids |
Definition at line 337 of file class.ilBookingGatewayGUI.php.
References ilObject\_lookupObjectId().
ilBookingGatewayGUI::executeCommand | ( | ) |
ilCtrlException | |
ilException |
Definition at line 146 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().
|
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 117 of file class.ilBookingGatewayGUI.php.
References $ctrl, ilObject\_lookupObjId(), ilCtrl\saveParameter(), and ilCtrl\setParameter().
Referenced by __construct().
ilBookingGatewayGUI::initSettingsForm | ( | ) |
Definition at line 270 of file class.ilBookingGatewayGUI.php.
References $lng, ilCtrl\getFormAction(), and ILIAS\Repository\lng().
Referenced by executeCommand().
ilBookingGatewayGUI::saveSettings | ( | ) |
Definition at line 294 of file class.ilBookingGatewayGUI.php.
References $handler, $lng, and ilCtrl\redirect().
|
protected |
Definition at line 209 of file class.ilBookingGatewayGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 216 of file class.ilBookingGatewayGUI.php.
References $lng, ilTabsGUI\addSubTab(), and ilCtrl\getLinkTargetByClass().
Referenced by executeCommand().
|
protected |
Definition at line 262 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 246 of file class.ilBookingGatewayGUI.php.
References ILIAS\Repository\lng(), ilCtrl\redirect(), and ilCtrl\redirectByClass().
|
protected |
Definition at line 189 of file class.ilBookingGatewayGUI.php.
References $ref_id, ilObject\_lookupObjId(), and ilObject\_lookupTitle().
Referenced by executeCommand().
|
protected |
Definition at line 30 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 31 of file class.ilBookingGatewayGUI.php.
Referenced by executeCommand(), and initPool().
|
protected |
Definition at line 39 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 38 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 29 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 49 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 32 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 42 of file class.ilBookingGatewayGUI.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 36 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 34 of file class.ilBookingGatewayGUI.php.
Referenced by __construct().
|
protected |
Definition at line 40 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 44 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 37 of file class.ilBookingGatewayGUI.php.
Referenced by showPoolSelector().
|
protected |
Definition at line 48 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 45 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 46 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 35 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 41 of file class.ilBookingGatewayGUI.php.
|
protected |
Definition at line 47 of file class.ilBookingGatewayGUI.php.