ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilBookingObjectGUI. More...
Public Member Functions | |
__construct ($a_parent_obj) | |
Constructor. More... | |
executeCommand () | |
main switch More... | |
render () | |
Render list of booking objects. More... | |
applyFilter () | |
resetFilter () | |
create () | |
Render creation form. More... | |
edit () | |
Render edit form. More... | |
initForm ($a_mode="create", $id=NULL) | |
Build property form. More... | |
save () | |
Create new object dataset. More... | |
update () | |
Update object dataset. More... | |
confirmDelete () | |
Confirm delete. More... | |
delete () | |
Delete object. More... | |
rsvConfirmCancelUser () | |
rsvCancelUser () | |
deliverInfo () | |
displayPostInfo () | |
deliverPostFile () | |
Protected Member Functions | |
setHelpId ($a_id) | |
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::applyFilter | ( | ) |
Definition at line 77 of file class.ilBookingObjectGUI.php.
References render().
ilBookingObjectGUI::confirmDelete | ( | ) |
ilBookingObjectGUI::create | ( | ) |
Render creation form.
Definition at line 98 of file class.ilBookingObjectGUI.php.
References $ilCtrl, $lng, $tpl, initForm(), and setHelpId().
ilBookingObjectGUI::delete | ( | ) |
Delete object.
Definition at line 397 of file class.ilBookingObjectGUI.php.
References $_POST, $ilCtrl, $lng, and ilUtil\sendSuccess().
ilBookingObjectGUI::deliverInfo | ( | ) |
Definition at line 461 of file class.ilBookingObjectGUI.php.
References $_GET, $file, and ilUtil\deliverFile().
ilBookingObjectGUI::deliverPostFile | ( | ) |
Definition at line 571 of file class.ilBookingObjectGUI.php.
References $_GET, $file, $ilUser, ilUtil\deliverFile(), and ilBookingReservation\getObjectReservationForUser().
ilBookingObjectGUI::displayPostInfo | ( | ) |
Definition at line 478 of file class.ilBookingObjectGUI.php.
References $_GET, $ilCtrl, $ilUser, $lng, $tpl, $url, ilDatePresentation\formatPeriod(), ilBookingReservation\getObjectReservationForUser(), IL_CAL_UNIX, ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
ilBookingObjectGUI::edit | ( | ) |
Render edit form.
Definition at line 114 of file class.ilBookingObjectGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, initForm(), and setHelpId().
ilBookingObjectGUI::executeCommand | ( | ) |
ilBookingObjectGUI::initForm | ( | $a_mode = "create" , |
|
$id = NULL |
|||
) |
Build property form.
string | $a_mode | |
int | $id |
Definition at line 146 of file class.ilBookingObjectGUI.php.
References $file, $ilCtrl, $lng, $options, ilBookingSchedule\getList(), ilAdvancedMDRecordGUI\MODE_EDITOR, 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 applyFilter(), resetFilter(), save(), and update().
ilBookingObjectGUI::resetFilter | ( | ) |
Definition at line 86 of file class.ilBookingObjectGUI.php.
References render().
ilBookingObjectGUI::rsvCancelUser | ( | ) |
Definition at line 435 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 409 of file class.ilBookingObjectGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, and setHelpId().
ilBookingObjectGUI::save | ( | ) |
Create new object dataset.
Definition at line 246 of file class.ilBookingObjectGUI.php.
References $file, $ilCtrl, $lng, $tpl, initForm(), render(), ilUtil\sendSuccess(), and ilBookingObject\setPoolId().
|
protected |
Definition at line 127 of file class.ilBookingObjectGUI.php.
Referenced by create(), edit(), and rsvConfirmCancelUser().
ilBookingObjectGUI::update | ( | ) |
Update object dataset.
Definition at line 306 of file class.ilBookingObjectGUI.php.
References $_POST, $file, $lng, $tpl, $valid, 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.