ILIAS
Release_5_0_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 | |
$pool_overall_limit |
ilBookingObjectGUI::__construct | ( | $a_parent_obj | ) |
Constructor.
object | $a_parent_obj |
Definition at line 23 of file class.ilBookingObjectGUI.php.
References ilObjBookingPool\TYPE_NO_SCHEDULE.
ilBookingObjectGUI::confirmDelete | ( | ) |
Confirm delete.
Definition at line 320 of file class.ilBookingObjectGUI.php.
References $_GET, $ilCtrl, $lng, and $tpl.
ilBookingObjectGUI::create | ( | ) |
Render creation form.
Definition at line 80 of file class.ilBookingObjectGUI.php.
References $ilCtrl, $lng, $tpl, and initForm().
ilBookingObjectGUI::delete | ( | ) |
Delete object.
Definition at line 344 of file class.ilBookingObjectGUI.php.
References $_POST, $ilCtrl, $lng, and ilUtil\sendSuccess().
ilBookingObjectGUI::deliverInfo | ( | ) |
Definition at line 406 of file class.ilBookingObjectGUI.php.
References $_GET, $file, and ilUtil\deliverFile().
ilBookingObjectGUI::deliverPostFile | ( | ) |
Definition at line 516 of file class.ilBookingObjectGUI.php.
References $_GET, $file, $ilUser, ilUtil\deliverFile(), and ilBookingReservation\getObjectReservationForUser().
ilBookingObjectGUI::displayPostInfo | ( | ) |
Definition at line 423 of file class.ilBookingObjectGUI.php.
References $_GET, $ilCtrl, $ilUser, $lng, $tpl, ilDatePresentation\formatPeriod(), ilBookingReservation\getObjectReservationForUser(), IL_CAL_UNIX, ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
ilBookingObjectGUI::edit | ( | ) |
Render edit form.
Definition at line 94 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 111 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 58 of file class.ilBookingObjectGUI.php.
References $ilCtrl, $lng, $tpl, and ilToolbarGUI\addButton().
Referenced by save(), and update().
ilBookingObjectGUI::rsvCancelUser | ( | ) |
Definition at line 380 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 356 of file class.ilBookingObjectGUI.php.
References $_GET, $ilCtrl, $lng, and $tpl.
ilBookingObjectGUI::save | ( | ) |
Create new object dataset.
Definition at line 206 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 266 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 17 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 14 of file class.ilBookingObjectGUI.php.