ILIAS
Release_4_1_x_branch Revision 61804
|
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. | |
parseTime ($raw) | |
Parse/normalize incoming time values. |
Class ilBookingScheduleGUI.
ilBookingScheduleGUI: ilBookingScheduleGUI:
Definition at line 13 of file class.ilBookingScheduleGUI.php.
ilBookingScheduleGUI::__construct | ( | $a_parent_obj | ) |
Constructor.
object | $a_parent_obj |
Definition at line 19 of file class.ilBookingScheduleGUI.php.
ilBookingScheduleGUI::confirmDelete | ( | ) |
Confirm delete.
Definition at line 455 of file class.ilBookingScheduleGUI.php.
References $_GET, $ilCtrl, $lng, and $tpl.
ilBookingScheduleGUI::create | ( | ) |
Render creation form.
Definition at line 69 of file class.ilBookingScheduleGUI.php.
References $ilCtrl, $lng, $tpl, and initForm().
ilBookingScheduleGUI::delete | ( | ) |
Delete schedule.
Definition at line 476 of file class.ilBookingScheduleGUI.php.
References $_POST, $ilCtrl, $lng, and ilUtil\sendSuccess().
ilBookingScheduleGUI::edit | ( | ) |
Render edit form.
Definition at line 83 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 329 of file class.ilBookingScheduleGUI.php.
References parseTime().
Referenced by save(), and update().
ilBookingScheduleGUI::initForm | ( | $a_mode = "create" , |
|
$id = NULL |
|||
) |
Build property form.
string | $a_mode | |
int | $id |
Definition at line 100 of file class.ilBookingScheduleGUI.php.
References $ilCtrl, $lng, $title, and ilFormPropertyGUI\setInfo().
Referenced by create(), edit(), save(), and update().
|
protected |
Parse/normalize incoming time values.
string | $raw |
Definition at line 411 of file class.ilBookingScheduleGUI.php.
Referenced by formToObject().
ilBookingScheduleGUI::render | ( | ) |
Render list of booking schedules.
uses ilBookingSchedulesTableGUI
Definition at line 49 of file class.ilBookingScheduleGUI.php.
References $ilCtrl, $lng, $tpl, and ilToolbarGUI\addButton().
Referenced by save(), and update().
ilBookingScheduleGUI::save | ( | ) |
Create new dataset.
Definition at line 243 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 297 of file class.ilBookingScheduleGUI.php.
References ilPropertyFormGUI\getInput(), and ilPropertyFormGUI\getItemByPostVar().
Referenced by save(), and update().
ilBookingScheduleGUI::update | ( | ) |
Update dataset.
Definition at line 269 of file class.ilBookingScheduleGUI.php.
References $_POST, $lng, $tpl, formToObject(), initForm(), render(), ilUtil\sendSuccess(), and setDefinitionFromPost().