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) | |
executeCommand () | |
render () | |
Render list of booking schedules uses ilBookingSchedulesTableGUI. More... | |
create () | |
Render creation form. More... | |
edit () | |
Render edit form. More... | |
initForm (string $a_mode="create", ?int $id=null) | |
Build property form. More... | |
save () | |
update () | |
confirmDelete () | |
Confirm delete. More... | |
delete () | |
Delete schedule. More... | |
Protected Member Functions | |
formToObject (ilPropertyFormGUI $form, ilBookingSchedule $schedule) | |
Set form data into schedule object. More... | |
Protected Attributes | |
ILIAS BookingManager StandardGUIRequest | $book_request |
ilGlobalTemplateInterface | $tpl |
ilTabsGUI | $tabs |
ilCtrl | $ctrl |
ilLanguage | $lng |
ilAccessHandler | $access |
ilHelpGUI | $help |
ilObjectDataCache | $obj_data_cache |
int | $schedule_id |
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 Class ilBookingScheduleGUI
Definition at line 25 of file class.ilBookingScheduleGUI.php.
ilBookingScheduleGUI::__construct | ( | ilObjBookingPoolGUI | $a_parent_obj | ) |
Definition at line 38 of file class.ilBookingScheduleGUI.php.
References $DIC, ilObject\_lookupObjId(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilObjectGUI\getRefId(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ilBookingSchedule\lookupPoolId(), and ILIAS\Repository\tabs().
ilBookingScheduleGUI::confirmDelete | ( | ) |
Confirm delete.
Definition at line 347 of file class.ilBookingScheduleGUI.php.
References $ctrl, $help, $lng, $tpl, $type, ilGlobalTemplateInterface\setContent(), ilHelpGUI\setSubScreenId(), and ilLanguage\txt().
ilBookingScheduleGUI::create | ( | ) |
Render creation form.
Definition at line 110 of file class.ilBookingScheduleGUI.php.
References $ctrl, $help, $lng, $tabs, $tpl, initForm(), ilGlobalTemplateInterface\setContent(), ilHelpGUI\setScreenIdComponent(), and ilLanguage\txt().
ilBookingScheduleGUI::delete | ( | ) |
Delete schedule.
Definition at line 372 of file class.ilBookingScheduleGUI.php.
References $ctrl, $lng, and ilLanguage\txt().
ilBookingScheduleGUI::edit | ( | ) |
Render edit form.
Definition at line 131 of file class.ilBookingScheduleGUI.php.
References $ctrl, $help, $lng, $tabs, $tpl, initForm(), ilGlobalTemplateInterface\setContent(), ilHelpGUI\setScreenIdComponent(), and ilLanguage\txt().
ilBookingScheduleGUI::executeCommand | ( | ) |
Definition at line 63 of file class.ilBookingScheduleGUI.php.
References $ctrl, and ilCtrl\getNextClass().
|
protected |
Set form data into schedule object.
Definition at line 290 of file class.ilBookingScheduleGUI.php.
References $obj_data_cache, ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), ilBookingSchedule\setAvailabilityFrom(), ilBookingSchedule\setAvailabilityTo(), ilBookingSchedule\setDeadline(), ilBookingSchedule\setDefinitionBySlots(), ilBookingSchedule\setPoolId(), and ilBookingSchedule\setTitle().
Referenced by save(), and update().
ilBookingScheduleGUI::initForm | ( | string | $a_mode = "create" , |
?int | $id = null |
||
) |
Build property form.
Definition at line 152 of file class.ilBookingScheduleGUI.php.
References $ctrl, $id, $lng, ilLanguage\loadLanguageModule(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilDateTimeInputGUI\setShowTime(), and ilLanguage\txt().
Referenced by create(), edit(), save(), and update().
ilBookingScheduleGUI::render | ( | ) |
Render list of booking schedules uses ilBookingSchedulesTableGUI.
Definition at line 81 of file class.ilBookingScheduleGUI.php.
References $access, Vendor\Package\$bar, $ctrl, $lng, $tpl, ilObject\_lookupObjId(), ilBookingObject\getList(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
Referenced by save(), and update().
ilBookingScheduleGUI::save | ( | ) |
Definition at line 249 of file class.ilBookingScheduleGUI.php.
References $lng, $tpl, formToObject(), initForm(), render(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilBookingScheduleGUI::update | ( | ) |
Definition at line 268 of file class.ilBookingScheduleGUI.php.
References $lng, $tpl, formToObject(), initForm(), render(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
|
protected |
Definition at line 32 of file class.ilBookingScheduleGUI.php.
Referenced by render().
|
protected |
Definition at line 27 of file class.ilBookingScheduleGUI.php.
|
protected |
Definition at line 30 of file class.ilBookingScheduleGUI.php.
Referenced by confirmDelete(), create(), delete(), edit(), executeCommand(), initForm(), and render().
|
protected |
Definition at line 33 of file class.ilBookingScheduleGUI.php.
Referenced by confirmDelete(), create(), and edit().
|
protected |
Definition at line 31 of file class.ilBookingScheduleGUI.php.
Referenced by confirmDelete(), create(), delete(), edit(), initForm(), render(), save(), and update().
|
protected |
Definition at line 34 of file class.ilBookingScheduleGUI.php.
Referenced by formToObject().
|
protected |
Definition at line 36 of file class.ilBookingScheduleGUI.php.
|
protected |
Definition at line 35 of file class.ilBookingScheduleGUI.php.
|
protected |
Definition at line 29 of file class.ilBookingScheduleGUI.php.
|
protected |
Definition at line 28 of file class.ilBookingScheduleGUI.php.
Referenced by confirmDelete(), create(), edit(), render(), save(), and update().