|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilBookingObjectGUI. More...
Collaboration diagram for ilBookingObjectGUI: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 | |
| $ctrl | |
| $tpl | |
| $lng | |
| $access | |
| $tabs | |
| $help | |
| $obj_data_cache | |
| $user | |
| $ref_id | |
| $pool_id | |
| $pool_has_schedule | |
| $pool_overall_limit | |
Class ilBookingObjectGUI.
Definition at line 13 of file class.ilBookingObjectGUI.php.
| ilBookingObjectGUI::__construct | ( | $a_parent_obj | ) |
Constructor.
| object | $a_parent_obj |
Definition at line 64 of file class.ilBookingObjectGUI.php.
References $DIC, ilObjBookingPool\TYPE_NO_SCHEDULE, and user().
Here is the call graph for this function:| ilBookingObjectGUI::applyFilter | ( | ) |
Definition at line 132 of file class.ilBookingObjectGUI.php.
References $table, and render().
Here is the call graph for this function:| ilBookingObjectGUI::confirmDelete | ( | ) |
Confirm delete.
Definition at line 441 of file class.ilBookingObjectGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tabs, $tpl, and $type.
| ilBookingObjectGUI::create | ( | ilPropertyFormGUI | $a_form = null | ) |
Render creation form.
Definition at line 153 of file class.ilBookingObjectGUI.php.
References $ctrl, $ilCtrl, $lng, $tabs, $tpl, initForm(), and setHelpId().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingObjectGUI::delete | ( | ) |
Delete object.
Definition at line 472 of file class.ilBookingObjectGUI.php.
References $_POST, $ctrl, $ilCtrl, $lng, and ilUtil\sendSuccess().
Here is the call graph for this function:| ilBookingObjectGUI::deliverInfo | ( | ) |
Definition at line 542 of file class.ilBookingObjectGUI.php.
References $_GET, $file, $id, and ilUtil\deliverFile().
Here is the call graph for this function:| ilBookingObjectGUI::deliverPostFile | ( | ) |
Definition at line 645 of file class.ilBookingObjectGUI.php.
References $_GET, $file, $id, $ilUser, $user, ilUtil\deliverFile(), and ilBookingReservation\getObjectReservationForUser().
Here is the call graph for this function:| ilBookingObjectGUI::displayPostInfo | ( | ) |
Definition at line 557 of file class.ilBookingObjectGUI.php.
References $_GET, $counter, $ctrl, $from, $id, $ilCtrl, $ilUser, $lng, $time, $tpl, $url, $user, ilDatePresentation\formatPeriod(), ilBookingReservation\getObjectReservationForUser(), IL_CAL_UNIX, ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
Here is the call graph for this function:| ilBookingObjectGUI::edit | ( | ilPropertyFormGUI | $a_form = null | ) |
Render edit form.
Definition at line 178 of file class.ilBookingObjectGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tabs, $tpl, initForm(), and setHelpId().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingObjectGUI::executeCommand | ( | ) |
main switch
Definition at line 89 of file class.ilBookingObjectGUI.php.
| ilBookingObjectGUI::initForm | ( | $a_mode = "create", |
|
$id = null |
|||
| ) |
Build property form.
| string | $a_mode | |
| int | $id |
Definition at line 219 of file class.ilBookingObjectGUI.php.
References $ctrl, $file, $id, $ilCtrl, $lng, $obj_data_cache, $options, $post, $title, ilBookingSchedule\getList(), and ilAdvancedMDRecordGUI\MODE_EDITOR.
Referenced by create(), edit(), save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingObjectGUI::render | ( | ) |
Render list of booking objects.
Definition at line 109 of file class.ilBookingObjectGUI.php.
References $access, $ctrl, $ilCtrl, $lng, $table, $tpl, and ilToolbarGUI\addButton().
Referenced by applyFilter(), and resetFilter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilBookingObjectGUI::resetFilter | ( | ) |
Definition at line 141 of file class.ilBookingObjectGUI.php.
References $table, and render().
Here is the call graph for this function:| ilBookingObjectGUI::rsvCancelUser | ( | ) |
Definition at line 516 of file class.ilBookingObjectGUI.php.
References $ctrl, $id, $ilCtrl, $ilUser, $lng, $user, ilBookingReservation\getObjectReservationForUser(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilBookingReservation\STATUS_CANCELLED.
Here is the call graph for this function:| ilBookingObjectGUI::rsvConfirmCancelUser | ( | ) |
Definition at line 489 of file class.ilBookingObjectGUI.php.
References $_GET, $ctrl, $id, $ilCtrl, $lng, $tpl, $type, and setHelpId().
Here is the call graph for this function:| ilBookingObjectGUI::save | ( | ) |
Create new object dataset.
Definition at line 316 of file class.ilBookingObjectGUI.php.
References $ctrl, $file, $form, $ilCtrl, $lng, $valid, create(), initForm(), ilUtil\sendSuccess(), and ilBookingObject\setPoolId().
Here is the call graph for this function:
|
protected |
Definition at line 200 of file class.ilBookingObjectGUI.php.
References $help.
Referenced by create(), edit(), and rsvConfirmCancelUser().
Here is the caller graph for this function:| ilBookingObjectGUI::update | ( | ) |
Update object dataset.
Definition at line 380 of file class.ilBookingObjectGUI.php.
References $_POST, $ctrl, $file, $form, $ilCtrl, $lng, $valid, edit(), initForm(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Definition at line 33 of file class.ilBookingObjectGUI.php.
Referenced by render().
|
protected |
Definition at line 18 of file class.ilBookingObjectGUI.php.
Referenced by confirmDelete(), create(), delete(), displayPostInfo(), edit(), executeCommand(), initForm(), render(), rsvCancelUser(), rsvConfirmCancelUser(), save(), and update().
|
protected |
Definition at line 43 of file class.ilBookingObjectGUI.php.
Referenced by setHelpId().
|
protected |
Definition at line 28 of file class.ilBookingObjectGUI.php.
Referenced by confirmDelete(), create(), delete(), displayPostInfo(), edit(), initForm(), render(), rsvCancelUser(), rsvConfirmCancelUser(), save(), and update().
|
protected |
Definition at line 48 of file class.ilBookingObjectGUI.php.
Referenced by initForm().
|
protected |
Definition at line 57 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 56 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 58 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 55 of file class.ilBookingObjectGUI.php.
|
protected |
Definition at line 38 of file class.ilBookingObjectGUI.php.
Referenced by confirmDelete(), create(), and edit().
|
protected |
Definition at line 23 of file class.ilBookingObjectGUI.php.
Referenced by confirmDelete(), create(), displayPostInfo(), edit(), render(), and rsvConfirmCancelUser().
|
protected |
Definition at line 53 of file class.ilBookingObjectGUI.php.
Referenced by deliverPostFile(), displayPostInfo(), and rsvCancelUser().