ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 (ilPropertyFormGUI $a_form=null) | |
Render creation form. More... | |
edit (ilPropertyFormGUI $a_form=null) | |
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 81 of file class.ilBookingObjectGUI.php.
References render().
ilBookingObjectGUI::confirmDelete | ( | ) |
ilBookingObjectGUI::create | ( | ilPropertyFormGUI | $a_form = null | ) |
Render creation form.
Definition at line 102 of file class.ilBookingObjectGUI.php.
References $ilCtrl, $lng, $tpl, initForm(), and setHelpId().
Referenced by save().
ilBookingObjectGUI::delete | ( | ) |
Delete object.
Definition at line 439 of file class.ilBookingObjectGUI.php.
References $_POST, $ilCtrl, $lng, and ilUtil\sendSuccess().
ilBookingObjectGUI::deliverInfo | ( | ) |
Definition at line 507 of file class.ilBookingObjectGUI.php.
References $_GET, $file, and ilUtil\deliverFile().
ilBookingObjectGUI::deliverPostFile | ( | ) |
Definition at line 617 of file class.ilBookingObjectGUI.php.
References $_GET, $file, $ilUser, ilUtil\deliverFile(), and ilBookingReservation\getObjectReservationForUser().
ilBookingObjectGUI::displayPostInfo | ( | ) |
Definition at line 524 of file class.ilBookingObjectGUI.php.
References $_GET, $counter, $ilCtrl, $ilUser, $lng, $tpl, $url, array, ilDatePresentation\formatPeriod(), ilBookingReservation\getObjectReservationForUser(), IL_CAL_UNIX, ilDatePresentation\setUseRelativeDates(), time, and ilDatePresentation\useRelativeDates().
ilBookingObjectGUI::edit | ( | ilPropertyFormGUI | $a_form = null | ) |
Render edit form.
Definition at line 126 of file class.ilBookingObjectGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, initForm(), and setHelpId().
Referenced by update().
ilBookingObjectGUI::executeCommand | ( | ) |
ilBookingObjectGUI::initForm | ( | $a_mode = "create" , |
|
$id = NULL |
|||
) |
Build property form.
string | $a_mode | |
int | $id |
Definition at line 165 of file class.ilBookingObjectGUI.php.
References $file, $ilCtrl, $lng, $options, $title, array, 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 62 of file class.ilBookingObjectGUI.php.
References $ilCtrl, $lng, $tpl, and ilToolbarGUI\addButton().
Referenced by applyFilter(), and resetFilter().
ilBookingObjectGUI::resetFilter | ( | ) |
Definition at line 90 of file class.ilBookingObjectGUI.php.
References render().
ilBookingObjectGUI::rsvCancelUser | ( | ) |
Definition at line 481 of file class.ilBookingObjectGUI.php.
References $ilCtrl, $ilUser, $lng, ilBookingReservation\getObjectReservationForUser(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilBookingReservation\STATUS_CANCELLED.
ilBookingObjectGUI::rsvConfirmCancelUser | ( | ) |
Definition at line 455 of file class.ilBookingObjectGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, and setHelpId().
ilBookingObjectGUI::save | ( | ) |
Create new object dataset.
Definition at line 266 of file class.ilBookingObjectGUI.php.
References $file, $ilCtrl, $lng, $valid, create(), initForm(), ilUtil\sendSuccess(), and ilBookingObject\setPoolId().
|
protected |
Definition at line 146 of file class.ilBookingObjectGUI.php.
Referenced by create(), edit(), and rsvConfirmCancelUser().
ilBookingObjectGUI::update | ( | ) |
Update object dataset.
Definition at line 340 of file class.ilBookingObjectGUI.php.
References $_POST, $file, $ilCtrl, $lng, $valid, edit(), initForm(), 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.