ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilBookingScheduleGUI. More...
Public Member Functions | |
__construct ($a_parent_obj) | |
Constructor. More... | |
executeCommand () | |
main switch More... | |
render () | |
Render list of booking schedules. More... | |
create () | |
Render creation form. More... | |
edit () | |
Render edit form. More... | |
initForm ($a_mode="create", $id=null) | |
Build property form. More... | |
save () | |
Create new dataset. More... | |
update () | |
Update dataset. More... | |
confirmDelete () | |
Confirm delete. More... | |
delete () | |
Delete schedule. More... | |
Protected Member Functions | |
setDefinitionFromPost (ilPropertyFormGUI $form) | |
Reload definition values from post data. More... | |
formToObject ($form, $schedule) | |
Convert incoming form data to schedule object. More... | |
Protected Attributes | |
$tpl | |
$tabs | |
$ctrl | |
$lng | |
$access | |
$help | |
$obj_data_cache | |
Class ilBookingScheduleGUI.
Definition at line 12 of file class.ilBookingScheduleGUI.php.
ilBookingScheduleGUI::__construct | ( | $a_parent_obj | ) |
Constructor.
object | $a_parent_obj |
Definition at line 53 of file class.ilBookingScheduleGUI.php.
References $DIC.
ilBookingScheduleGUI::confirmDelete | ( | ) |
ilBookingScheduleGUI::create | ( | ) |
Render creation form.
Definition at line 123 of file class.ilBookingScheduleGUI.php.
References $ctrl, $form, $help, $ilCtrl, $lng, $tabs, $tpl, and initForm().
ilBookingScheduleGUI::delete | ( | ) |
Delete schedule.
Definition at line 441 of file class.ilBookingScheduleGUI.php.
References $_POST, $ctrl, $ilCtrl, $lng, and ilUtil\sendSuccess().
ilBookingScheduleGUI::edit | ( | ) |
Render edit form.
Definition at line 144 of file class.ilBookingScheduleGUI.php.
References $_GET, $ctrl, $form, $help, $ilCtrl, $lng, $tabs, $tpl, and initForm().
ilBookingScheduleGUI::executeCommand | ( | ) |
|
protected |
Convert incoming form data to schedule object.
object | $form | |
object | $schedule |
Definition at line 363 of file class.ilBookingScheduleGUI.php.
References $form, $from, $obj_data_cache, and ilScheduleInputGUI\getPostData().
Referenced by save(), and update().
ilBookingScheduleGUI::initForm | ( | $a_mode = "create" , |
|
$id = null |
|||
) |
Build property form.
string | $a_mode | |
int | $id |
Definition at line 168 of file class.ilBookingScheduleGUI.php.
References $ctrl, $from, $id, $ilCtrl, $lng, $title, ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), and ilDateTimeInputGUI\setShowTime().
Referenced by create(), edit(), save(), and update().
ilBookingScheduleGUI::render | ( | ) |
Render list of booking schedules.
uses ilBookingSchedulesTableGUI
Definition at line 92 of file class.ilBookingScheduleGUI.php.
References $access, $ctrl, $ilCtrl, $lng, $table, $tpl, ilObject\_lookupObjId(), ilToolbarGUI\addButton(), ilBookingObject\getList(), and ilUtil\sendInfo().
Referenced by save(), and update().
ilBookingScheduleGUI::save | ( | ) |
Create new dataset.
Definition at line 286 of file class.ilBookingScheduleGUI.php.
References $form, $lng, $tpl, formToObject(), initForm(), render(), ilUtil\sendSuccess(), and setDefinitionFromPost().
|
protected |
Reload definition values from post data.
ilPropertyFormGUI | $form |
Definition at line 336 of file class.ilBookingScheduleGUI.php.
References ilPropertyFormGUI\getInput(), and ilPropertyFormGUI\getItemByPostVar().
Referenced by save(), and update().
ilBookingScheduleGUI::update | ( | ) |
Update dataset.
Definition at line 310 of file class.ilBookingScheduleGUI.php.
References $_POST, $form, $lng, $tpl, formToObject(), initForm(), render(), ilUtil\sendSuccess(), and setDefinitionFromPost().
|
protected |
Definition at line 37 of file class.ilBookingScheduleGUI.php.
Referenced by render().
|
protected |
Definition at line 27 of file class.ilBookingScheduleGUI.php.
Referenced by confirmDelete(), create(), delete(), edit(), executeCommand(), initForm(), and render().
|
protected |
Definition at line 42 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 47 of file class.ilBookingScheduleGUI.php.
Referenced by formToObject().
|
protected |
Definition at line 22 of file class.ilBookingScheduleGUI.php.
Referenced by confirmDelete(), create(), edit(), and executeCommand().
|
protected |
Definition at line 17 of file class.ilBookingScheduleGUI.php.
Referenced by confirmDelete(), create(), edit(), executeCommand(), render(), save(), and update().