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 | |
__construct (ilObjBookingPoolGUI $a_parent_obj, string $seed, string $sseed, ilBookingHelpAdapter $help, int $context_obj_id=0) | |
activateManagement (bool $a_val) | |
isManagementActivated () | |
Is management activated? More... | |
render () | |
Render list of booking objects uses ilBookingObjectsTableGUI. More... | |
applyFilter () | |
resetFilter () | |
create (ilPropertyFormGUI $a_form=null) | |
Render creation form. More... | |
edit (ilPropertyFormGUI $a_form=null) | |
Render edit form. More... | |
initForm (string $a_mode="create", int $id=null) | |
Build property form. More... | |
save () | |
update () | |
confirmDelete () | |
delete () | |
deliverInfo () | |
Protected Member Functions | |
getPoolRefId () | |
getPoolObjId () | |
hasPoolSchedule () | |
Has booking pool a schedule? More... | |
getPoolOverallLimit () | |
Get booking pool overall limit. More... | |
showNoScheduleMessage () | |
returnToPreferences () | |
setHelpId (string $a_id) | |
Protected Attributes | |
ILIAS BookingManager StandardGUIRequest | $book_request |
ilCtrl | $ctrl |
ilGlobalTemplateInterface | $tpl |
ilLanguage | $lng |
ilAccessHandler | $access |
ilTabsGUI | $tabs |
ilBookingHelpAdapter | $help |
ilObjectDataCache | $obj_data_cache |
ilObjUser | $user |
bool | $pool_has_schedule |
int | $pool_overall_limit |
bool | $pool_uses_preferences = false |
bool | $management = true |
int | $context_obj_id |
int | $object_id |
string | $seed |
string | $sseed |
ilObjBookingPoolGUI | $pool_gui |
array | $rsv_ids = [] |
ilAdvancedMDRecordGUI | $record_gui |
int | $ref_id |
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
Definition at line 23 of file class.ilBookingObjectGUI.php.
ilBookingObjectGUI::__construct | ( | ilObjBookingPoolGUI | $a_parent_obj, |
string | $seed, | ||
string | $sseed, | ||
ilBookingHelpAdapter | $help, | ||
int | $context_obj_id = 0 |
||
) |
Definition at line 49 of file class.ilBookingObjectGUI.php.
References $context_obj_id, $DIC, $help, $seed, $sseed, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilObjectGUI\getObject(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ilBookingObject\lookupPoolId(), ILIAS\Repository\tabs(), ilObjBookingPool\TYPE_FIX_SCHEDULE, ilObjBookingPool\TYPE_NO_SCHEDULE_PREFERENCES, and ILIAS\Repository\user().
ilBookingObjectGUI::activateManagement | ( | bool | $a_val | ) |
Definition at line 98 of file class.ilBookingObjectGUI.php.
Referenced by ilBookingObjectServiceGUI\__construct().
ilBookingObjectGUI::applyFilter | ( | ) |
Definition at line 219 of file class.ilBookingObjectGUI.php.
References getPoolObjId(), getPoolOverallLimit(), getPoolRefId(), hasPoolSchedule(), isManagementActivated(), and render().
ilBookingObjectGUI::confirmDelete | ( | ) |
Definition at line 508 of file class.ilBookingObjectGUI.php.
References $ctrl, $lng, $tabs, $tpl, $type, ILIAS\Repository\access(), ilTabsGUI\clearTargets(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilBookingObjectGUI::create | ( | ilPropertyFormGUI | $a_form = null | ) |
Render creation form.
Definition at line 238 of file class.ilBookingObjectGUI.php.
References $ctrl, $lng, $tabs, $tpl, ILIAS\Repository\access(), ilTabsGUI\clearTargets(), initForm(), ilGlobalTemplateInterface\setContent(), setHelpId(), and ilLanguage\txt().
Referenced by save().
ilBookingObjectGUI::delete | ( | ) |
Definition at line 534 of file class.ilBookingObjectGUI.php.
References $ctrl, $lng, ILIAS\Repository\access(), and ilLanguage\txt().
ilBookingObjectGUI::deliverInfo | ( | ) |
Definition at line 553 of file class.ilBookingObjectGUI.php.
References $id, $object_id, and ilFileDelivery\deliverFileLegacy().
ilBookingObjectGUI::edit | ( | ilPropertyFormGUI | $a_form = null | ) |
Render edit form.
Definition at line 263 of file class.ilBookingObjectGUI.php.
References $ctrl, $lng, $tabs, $tpl, ILIAS\Repository\access(), initForm(), ilGlobalTemplateInterface\setContent(), setHelpId(), and ilLanguage\txt().
Referenced by update().
|
protected |
Definition at line 116 of file class.ilBookingObjectGUI.php.
Referenced by applyFilter(), initForm(), render(), resetFilter(), and save().
|
protected |
Get booking pool overall limit.
Definition at line 132 of file class.ilBookingObjectGUI.php.
References $ctrl, ILIAS\Repository\ctrl(), ilCtrl\getNextClass(), hasPoolSchedule(), ILIAS\Repository\help(), and initForm().
Referenced by applyFilter(), render(), and resetFilter().
|
protected |
Definition at line 111 of file class.ilBookingObjectGUI.php.
Referenced by applyFilter(), render(), and resetFilter().
|
protected |
Has booking pool a schedule?
Definition at line 124 of file class.ilBookingObjectGUI.php.
References ilObjBookingPool\TYPE_FIX_SCHEDULE.
Referenced by applyFilter(), getPoolOverallLimit(), initForm(), render(), resetFilter(), save(), and update().
ilBookingObjectGUI::initForm | ( | string | $a_mode = "create" , |
int | $id = null |
||
) |
Build property form.
Definition at line 293 of file class.ilBookingObjectGUI.php.
References $ctrl, $id, $lng, $obj_data_cache, $post, ilBookingSchedule\getList(), getPoolObjId(), hasPoolSchedule(), ilAdvancedMDRecordGUI\MODE_EDITOR, ilFileInputGUI\setAllowDeletion(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setRequired(), and ilLanguage\txt().
Referenced by create(), edit(), getPoolOverallLimit(), save(), and update().
ilBookingObjectGUI::isManagementActivated | ( | ) |
Is management activated?
Definition at line 106 of file class.ilBookingObjectGUI.php.
References $management.
Referenced by applyFilter(), render(), and resetFilter().
ilBookingObjectGUI::render | ( | ) |
Render list of booking objects uses ilBookingObjectsTableGUI.
Definition at line 196 of file class.ilBookingObjectGUI.php.
References $access, Vendor\Package\$bar, $ctrl, $lng, $tpl, getPoolObjId(), getPoolOverallLimit(), getPoolRefId(), hasPoolSchedule(), isManagementActivated(), ilGlobalTemplateInterface\setContent(), ilGlobalTemplateInterface\setPermanentLink(), showNoScheduleMessage(), and ilLanguage\txt().
Referenced by applyFilter(), and resetFilter().
ilBookingObjectGUI::resetFilter | ( | ) |
Definition at line 227 of file class.ilBookingObjectGUI.php.
References getPoolObjId(), getPoolOverallLimit(), getPoolRefId(), hasPoolSchedule(), isManagementActivated(), and render().
|
protected |
Definition at line 187 of file class.ilBookingObjectGUI.php.
References ILIAS\Repository\ctrl().
ilBookingObjectGUI::save | ( | ) |
Definition at line 392 of file class.ilBookingObjectGUI.php.
References $ctrl, $lng, $valid, ILIAS\Repository\access(), create(), getPoolObjId(), hasPoolSchedule(), initForm(), and ilLanguage\txt().
|
protected |
Definition at line 285 of file class.ilBookingObjectGUI.php.
References ILIAS\Repository\help().
Referenced by create(), and edit().
|
protected |
Definition at line 182 of file class.ilBookingObjectGUI.php.
Referenced by render().
ilBookingObjectGUI::update | ( | ) |
Definition at line 451 of file class.ilBookingObjectGUI.php.
References $ctrl, $lng, $valid, ILIAS\Repository\access(), edit(), hasPoolSchedule(), initForm(), and ilLanguage\txt().
|
protected |
Definition at line 29 of file class.ilBookingObjectGUI.php.
Referenced by render().
|
protected |
Definition at line 25 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 40 of file class.ilBookingObjectGUI.php.
Referenced by __construct().
|
protected |
Definition at line 26 of file class.ilBookingObjectGUI.php.
Referenced by confirmDelete(), create(), delete(), edit(), getPoolOverallLimit(), initForm(), render(), save(), and update().
|
protected |
Definition at line 31 of file class.ilBookingObjectGUI.php.
Referenced by __construct().
|
protected |
Definition at line 28 of file class.ilBookingObjectGUI.php.
Referenced by confirmDelete(), create(), delete(), edit(), initForm(), render(), save(), and update().
|
protected |
Definition at line 38 of file class.ilBookingObjectGUI.php.
Referenced by isManagementActivated().
|
protected |
Definition at line 32 of file class.ilBookingObjectGUI.php.
Referenced by initForm().
|
protected |
Definition at line 41 of file class.ilBookingObjectGUI.php.
Referenced by deliverInfo().
|
protected |
Definition at line 44 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 34 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 35 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 36 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 46 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 47 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 45 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 42 of file class.ilBookingObjectGUI.php.
Referenced by __construct().
|
protected |
Definition at line 43 of file class.ilBookingObjectGUI.php.
Referenced by __construct().
|
protected |
Definition at line 30 of file class.ilBookingObjectGUI.php.
Referenced by confirmDelete(), create(), and edit().
|
protected |
Definition at line 27 of file class.ilBookingObjectGUI.php.
Referenced by confirmDelete(), create(), edit(), and render().
|
protected |
Definition at line 33 of file class.ilBookingObjectGUI.php.