ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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... | |
Class ilBookingScheduleGUI.
Definition at line 12 of file class.ilBookingScheduleGUI.php.
ilBookingScheduleGUI::__construct | ( | $a_parent_obj | ) |
Constructor.
object | $a_parent_obj |
Definition at line 18 of file class.ilBookingScheduleGUI.php.
ilBookingScheduleGUI::confirmDelete | ( | ) |
ilBookingScheduleGUI::create | ( | ) |
Render creation form.
Definition at line 78 of file class.ilBookingScheduleGUI.php.
References $ilCtrl, $lng, $tpl, and initForm().
ilBookingScheduleGUI::delete | ( | ) |
Delete schedule.
Definition at line 402 of file class.ilBookingScheduleGUI.php.
References $_POST, $ilCtrl, $lng, and ilUtil\sendSuccess().
ilBookingScheduleGUI::edit | ( | ) |
Render edit form.
Definition at line 95 of file class.ilBookingScheduleGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, and initForm().
ilBookingScheduleGUI::executeCommand | ( | ) |
main switch
Definition at line 26 of file class.ilBookingScheduleGUI.php.
References $cmd, $ilCtrl, and $tpl.
|
protected |
Convert incoming form data to schedule object.
object | $form | |
object | $schedule |
Definition at line 327 of file class.ilBookingScheduleGUI.php.
References 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 115 of file class.ilBookingScheduleGUI.php.
References $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 47 of file class.ilBookingScheduleGUI.php.
References $ilCtrl, $lng, $tpl, ilObject\_lookupObjId(), ilToolbarGUI\addButton(), ilBookingObject\getList(), and ilUtil\sendInfo().
Referenced by save(), and update().
ilBookingScheduleGUI::save | ( | ) |
Create new dataset.
Definition at line 241 of file class.ilBookingScheduleGUI.php.
References $lng, $tpl, formToObject(), initForm(), render(), ilUtil\sendSuccess(), and setDefinitionFromPost().
|
protected |
Reload definition values from post data.
ilPropertyFormGUI | $form |
Definition at line 295 of file class.ilBookingScheduleGUI.php.
References ilPropertyFormGUI\getInput(), and ilPropertyFormGUI\getItemByPostVar().
Referenced by save(), and update().
ilBookingScheduleGUI::update | ( | ) |
Update dataset.
Definition at line 267 of file class.ilBookingScheduleGUI.php.
References $_POST, $lng, $tpl, formToObject(), initForm(), render(), ilUtil\sendSuccess(), and setDefinitionFromPost().