|
ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilBookingScheduleGUI. More...
Collaboration diagram for ilBookingScheduleGUI: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 350 of file class.ilBookingScheduleGUI.php.
References $_GET, $ilCtrl, $lng, and $tpl.
| ilBookingScheduleGUI::create | ( | ) |
Render creation form.
Definition at line 78 of file class.ilBookingScheduleGUI.php.
References $ilCtrl, $lng, $tpl, and initForm().
Here is the call graph for this function:| ilBookingScheduleGUI::delete | ( | ) |
Delete schedule.
Definition at line 374 of file class.ilBookingScheduleGUI.php.
References $_POST, $ilCtrl, $lng, and ilUtil\sendSuccess().
Here is the call graph for this function:| ilBookingScheduleGUI::edit | ( | ) |
Render edit form.
Definition at line 95 of file class.ilBookingScheduleGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, and initForm().
Here is the call graph for this function:| ilBookingScheduleGUI::executeCommand | ( | ) |
|
protected |
Convert incoming form data to schedule object.
| object | $form | |
| object | $schedule |
Definition at line 319 of file class.ilBookingScheduleGUI.php.
References ilScheduleInputGUI\getPostData().
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| 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, ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setRequired().
Referenced by create(), edit(), save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingScheduleGUI::save | ( | ) |
Create new dataset.
Definition at line 233 of file class.ilBookingScheduleGUI.php.
References $lng, $tpl, formToObject(), initForm(), render(), ilUtil\sendSuccess(), and setDefinitionFromPost().
Here is the call graph for this function:
|
protected |
Reload definition values from post data.
| ilPropertyFormGUI | $form |
Definition at line 287 of file class.ilBookingScheduleGUI.php.
References ilPropertyFormGUI\getInput(), and ilPropertyFormGUI\getItemByPostVar().
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingScheduleGUI::update | ( | ) |
Update dataset.
Definition at line 259 of file class.ilBookingScheduleGUI.php.
References $_POST, $lng, $tpl, formToObject(), initForm(), render(), ilUtil\sendSuccess(), and setDefinitionFromPost().
Here is the call graph for this function: