ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 | |
$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().
ilBookingObjectGUI::applyFilter | ( | ) |
Definition at line 132 of file class.ilBookingObjectGUI.php.
References $table, and render().
ilBookingObjectGUI::confirmDelete | ( | ) |
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().
ilBookingObjectGUI::delete | ( | ) |
Delete object.
Definition at line 472 of file class.ilBookingObjectGUI.php.
References $_POST, $ctrl, $ilCtrl, $lng, and ilUtil\sendSuccess().
ilBookingObjectGUI::deliverInfo | ( | ) |
Definition at line 542 of file class.ilBookingObjectGUI.php.
References $_GET, $file, $id, and ilUtil\deliverFile().
ilBookingObjectGUI::deliverPostFile | ( | ) |
Definition at line 645 of file class.ilBookingObjectGUI.php.
References $_GET, $file, $id, $ilUser, $user, ilUtil\deliverFile(), and ilBookingReservation\getObjectReservationForUser().
ilBookingObjectGUI::displayPostInfo | ( | ) |
Definition at line 557 of file class.ilBookingObjectGUI.php.
References $_GET, $counter, $ctrl, $from, $id, $ilCtrl, $ilUser, $lng, $time, $tpl, $url, $user, 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 178 of file class.ilBookingObjectGUI.php.
References $_GET, $ctrl, $ilCtrl, $lng, $tabs, $tpl, initForm(), and setHelpId().
Referenced by update().
ilBookingObjectGUI::executeCommand | ( | ) |
main switch
Definition at line 89 of file class.ilBookingObjectGUI.php.
References $ctrl, and $ilCtrl.
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, 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 109 of file class.ilBookingObjectGUI.php.
References $access, $ctrl, $ilCtrl, $lng, $table, $tpl, and ilToolbarGUI\addButton().
Referenced by applyFilter(), and resetFilter().
ilBookingObjectGUI::resetFilter | ( | ) |
Definition at line 141 of file class.ilBookingObjectGUI.php.
References $table, and render().
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.
ilBookingObjectGUI::rsvConfirmCancelUser | ( | ) |
Definition at line 489 of file class.ilBookingObjectGUI.php.
References $_GET, $ctrl, $id, $ilCtrl, $lng, $tpl, $type, and setHelpId().
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().
|
protected |
Definition at line 200 of file class.ilBookingObjectGUI.php.
References $help.
Referenced by create(), edit(), and rsvConfirmCancelUser().
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().
|
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().