ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
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 Access AccessManager | $access |
ILIAS BookingManager StandardGUIRequest | $book_request |
ilGlobalTemplateInterface | $tpl |
ilTabsGUI | $tabs |
ilCtrl | $ctrl |
ilLanguage | $lng |
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, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilObjectGUI\getRefId(), ILIAS\Repository\help(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
ilBookingScheduleGUI::confirmDelete | ( | ) |
Confirm delete.
Definition at line 340 of file class.ilBookingScheduleGUI.php.
References $ctrl, $help, $lng, $tpl, ILIAS\UICore\GlobalTemplate\setContent(), ilHelpGUI\setSubScreenId(), and ilLanguage\txt().
ilBookingScheduleGUI::create | ( | ) |
Render creation form.
Definition at line 103 of file class.ilBookingScheduleGUI.php.
References $ctrl, $help, $lng, $tabs, $tpl, initForm(), ILIAS\UICore\GlobalTemplate\setContent(), ilHelpGUI\setScreenIdComponent(), and ilLanguage\txt().
ilBookingScheduleGUI::delete | ( | ) |
Delete schedule.
Definition at line 365 of file class.ilBookingScheduleGUI.php.
References $ctrl, $lng, and ilLanguage\txt().
ilBookingScheduleGUI::edit | ( | ) |
Render edit form.
Definition at line 124 of file class.ilBookingScheduleGUI.php.
References $ctrl, $help, $lng, $tabs, $tpl, initForm(), ILIAS\UICore\GlobalTemplate\setContent(), ilHelpGUI\setScreenIdComponent(), and ilLanguage\txt().
ilBookingScheduleGUI::executeCommand | ( | ) |
Definition at line 58 of file class.ilBookingScheduleGUI.php.
References $ctrl, and ilCtrl\getNextClass().
|
protected |
Set form data into schedule object.
Definition at line 283 of file class.ilBookingScheduleGUI.php.
References $obj_data_cache, ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), null, 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 145 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 76 of file class.ilBookingScheduleGUI.php.
References Vendor\Package\$bar, $ctrl, $lng, $tpl, ilObject\_lookupObjId(), ILIAS\Repository\access(), ilBookingObject\getList(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
Referenced by save(), and update().
ilBookingScheduleGUI::save | ( | ) |
Definition at line 242 of file class.ilBookingScheduleGUI.php.
References $lng, $tpl, formToObject(), initForm(), render(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
ilBookingScheduleGUI::update | ( | ) |
Definition at line 261 of file class.ilBookingScheduleGUI.php.
References $lng, $tpl, formToObject(), initForm(), render(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
|
protected |
Definition at line 27 of file class.ilBookingScheduleGUI.php.
|
protected |
Definition at line 28 of file class.ilBookingScheduleGUI.php.
|
protected |
Definition at line 31 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 32 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 30 of file class.ilBookingScheduleGUI.php.
|
protected |
Definition at line 29 of file class.ilBookingScheduleGUI.php.
Referenced by confirmDelete(), create(), edit(), render(), save(), and update().