ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilBookingObjectGUI. More...
Public Member Functions | |
__construct ($a_parent_obj) | |
Constructor. | |
executeCommand () | |
main switch | |
render () | |
Render list of booking objects. | |
create () | |
Render creation form. | |
edit () | |
Render edit form. | |
initForm ($a_mode="create", $id=NULL) | |
Build property form. | |
save () | |
Create new object dataset. | |
update () | |
Update object dataset. | |
confirmDelete () | |
Confirm delete. | |
delete () | |
Delete object. | |
rsvConfirmCancelUser () | |
rsvCancelUser () | |
deliverInfo () | |
displayPostInfo () | |
deliverPostFile () |
Protected Attributes | |
$ref_id | |
$pool_id | |
$pool_has_schedule |
ilBookingObjectGUI::__construct | ( | $a_parent_obj | ) |
Constructor.
object | $a_parent_obj |
Definition at line 22 of file class.ilBookingObjectGUI.php.
References ilObjBookingPool\TYPE_NO_SCHEDULE.
ilBookingObjectGUI::confirmDelete | ( | ) |
Confirm delete.
Definition at line 316 of file class.ilBookingObjectGUI.php.
References $_GET, $ilCtrl, $lng, and $tpl.
ilBookingObjectGUI::create | ( | ) |
Render creation form.
Definition at line 77 of file class.ilBookingObjectGUI.php.
References $ilCtrl, $lng, $tpl, and initForm().
ilBookingObjectGUI::delete | ( | ) |
Delete object.
Definition at line 340 of file class.ilBookingObjectGUI.php.
References $_POST, $ilCtrl, $lng, and ilUtil\sendSuccess().
ilBookingObjectGUI::deliverInfo | ( | ) |
Definition at line 403 of file class.ilBookingObjectGUI.php.
References $_GET, $file, and ilUtil\deliverFile().
ilBookingObjectGUI::deliverPostFile | ( | ) |
Definition at line 468 of file class.ilBookingObjectGUI.php.
References $_GET, $file, $ilUser, ilUtil\deliverFile(), and ilBookingReservation\getObjectReservationForUser().
ilBookingObjectGUI::displayPostInfo | ( | ) |
Definition at line 420 of file class.ilBookingObjectGUI.php.
References $_GET, $ilCtrl, $ilUser, $lng, $tpl, and ilBookingReservation\getObjectReservationForUser().
ilBookingObjectGUI::edit | ( | ) |
Render edit form.
Definition at line 91 of file class.ilBookingObjectGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, and initForm().
ilBookingObjectGUI::executeCommand | ( | ) |
ilBookingObjectGUI::initForm | ( | $a_mode = "create" , |
|
$id = NULL |
|||
) |
Build property form.
string | $a_mode | |
int | $id |
Definition at line 108 of file class.ilBookingObjectGUI.php.
References $file, $ilCtrl, $lng, $options, ilBookingSchedule\getList(), ilFileInputGUI\setALlowDeletion(), ilTextAreaInputGUI\setCols(), and ilFormPropertyGUI\setRequired().
Referenced by create(), edit(), save(), and update().
ilBookingObjectGUI::render | ( | ) |
Render list of booking objects.
Definition at line 54 of file class.ilBookingObjectGUI.php.
References $ilCtrl, $lng, $tpl, and ilToolbarGUI\addButton().
Referenced by save(), and update().
ilBookingObjectGUI::rsvCancelUser | ( | ) |
Definition at line 377 of file class.ilBookingObjectGUI.php.
References $_REQUEST, $ilCtrl, $ilUser, $lng, ilBookingReservation\getObjectReservationForUser(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilBookingReservation\STATUS_CANCELLED.
ilBookingObjectGUI::rsvConfirmCancelUser | ( | ) |
Definition at line 352 of file class.ilBookingObjectGUI.php.
References $_GET, $ilCtrl, $lng, and $tpl.
ilBookingObjectGUI::save | ( | ) |
Create new object dataset.
Definition at line 202 of file class.ilBookingObjectGUI.php.
References $file, $ilCtrl, $lng, $tpl, initForm(), render(), ilUtil\sendSuccess(), and ilBookingObject\setPoolId().
ilBookingObjectGUI::update | ( | ) |
Update object dataset.
Definition at line 262 of file class.ilBookingObjectGUI.php.
References $_POST, $file, $lng, $tpl, initForm(), render(), and ilUtil\sendSuccess().
|
protected |
Definition at line 16 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 15 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 14 of file class.ilBookingObjectGUI.php.