ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilBookingScheduleGUI. More...
Public Member Functions | |
__construct ($a_parent_obj) | |
Constructor. | |
executeCommand () | |
main switch | |
render () | |
Render list of booking schedules. | |
create () | |
Render creation form. | |
edit () | |
Render edit form. | |
initForm ($a_mode="create", $id=NULL) | |
Build property form. | |
save () | |
Create new dataset. | |
update () | |
Update dataset. | |
confirmDelete () | |
Confirm delete. | |
delete () | |
Delete schedule. |
Protected Member Functions | |
setDefinitionFromPost (ilPropertyFormGUI $form) | |
Reload definition values from post data. | |
formToObject ($form, $schedule) | |
Convert incoming form data to schedule object. |
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 | ( | ) |
Confirm delete.
Definition at line 345 of file class.ilBookingScheduleGUI.php.
References $_GET, $ilCtrl, $lng, and $tpl.
ilBookingScheduleGUI::create | ( | ) |
Render creation form.
Definition at line 79 of file class.ilBookingScheduleGUI.php.
References $ilCtrl, $lng, $tpl, and initForm().
ilBookingScheduleGUI::delete | ( | ) |
Delete schedule.
Definition at line 366 of file class.ilBookingScheduleGUI.php.
References $_POST, $ilCtrl, $lng, and ilUtil\sendSuccess().
ilBookingScheduleGUI::edit | ( | ) |
Render edit form.
Definition at line 93 of file class.ilBookingScheduleGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, and initForm().
ilBookingScheduleGUI::executeCommand | ( | ) |
|
protected |
Convert incoming form data to schedule object.
object | $form | |
object | $schedule |
Definition at line 314 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 110 of file class.ilBookingScheduleGUI.php.
References $ilCtrl, $lng, $title, and ilFormPropertyGUI\setInfo().
Referenced by create(), edit(), save(), and update().
ilBookingScheduleGUI::render | ( | ) |
Render list of booking schedules.
uses ilBookingSchedulesTableGUI
Definition at line 48 of file class.ilBookingScheduleGUI.php.
References $ilCtrl, $lng, $tpl, ilObject\_lookupObjId(), ilToolbarGUI\addButton(), ilBookingType\getList(), and ilUtil\sendInfo().
Referenced by save(), and update().
ilBookingScheduleGUI::save | ( | ) |
Create new dataset.
Definition at line 228 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 282 of file class.ilBookingScheduleGUI.php.
References ilPropertyFormGUI\getInput(), and ilPropertyFormGUI\getItemByPostVar().
Referenced by save(), and update().
ilBookingScheduleGUI::update | ( | ) |
Update dataset.
Definition at line 254 of file class.ilBookingScheduleGUI.php.
References $_POST, $lng, $tpl, formToObject(), initForm(), render(), ilUtil\sendSuccess(), and setDefinitionFromPost().