ILIAS
eassessment Revision 61809
|
Class ilBookingTypeGUI. More...
Public Member Functions | |
__construct ($a_parent_obj) | |
Constructor. | |
executeCommand () | |
main switch | |
render () | |
Render list of booking types. | |
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 type. |
Class ilBookingTypeGUI.
ilBookingTypeGUI: ilBookingTypeGUI:
Definition at line 15 of file class.ilBookingTypeGUI.php.
ilBookingTypeGUI::__construct | ( | $a_parent_obj | ) |
Constructor.
object | $a_parent_obj |
Definition at line 21 of file class.ilBookingTypeGUI.php.
ilBookingTypeGUI::confirmDelete | ( | ) |
Confirm delete.
Definition at line 250 of file class.ilBookingTypeGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, and $type.
ilBookingTypeGUI::create | ( | ) |
Render creation form.
Definition at line 77 of file class.ilBookingTypeGUI.php.
References $ilCtrl, $lng, $tpl, and initForm().
ilBookingTypeGUI::delete | ( | ) |
Delete type.
Definition at line 271 of file class.ilBookingTypeGUI.php.
References $_POST, $ilCtrl, $lng, $type, and ilUtil\sendSuccess().
ilBookingTypeGUI::edit | ( | ) |
Render edit form.
Definition at line 91 of file class.ilBookingTypeGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, and initForm().
ilBookingTypeGUI::executeCommand | ( | ) |
ilBookingTypeGUI::initForm | ( | $a_mode = "create" , |
|
$id = NULL |
|||
) |
Build property form.
string | $a_mode | |
int | $id |
Definition at line 108 of file class.ilBookingTypeGUI.php.
References $ilCtrl, $lng, $title, $type, ilBookingSchedule\getList(), ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setRequired().
Referenced by create(), edit(), save(), and update().
ilBookingTypeGUI::render | ( | ) |
Render list of booking types.
Definition at line 51 of file class.ilBookingTypeGUI.php.
References $ilCtrl, $lng, $tpl, ilToolbarGUI\addButton(), ilBookingSchedule\hasExistingSchedules(), and ilUtil\sendFailure().
Referenced by update().
ilBookingTypeGUI::save | ( | ) |
Create new dataset.
Definition at line 181 of file class.ilBookingTypeGUI.php.
References $ilCtrl, $lng, $tpl, initForm(), ilUtil\sendSuccess(), and ilBookingType\setTitle().
ilBookingTypeGUI::update | ( | ) |
Update dataset.
Definition at line 214 of file class.ilBookingTypeGUI.php.
References $_POST, $lng, $tpl, initForm(), render(), and ilUtil\sendSuccess().