ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 () | |
assignParticipants () | |
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 | |
$user_to_deasign | |
$object_id | |
Class ilBookingObjectGUI.
Definition at line 13 of file class.ilBookingObjectGUI.php.
ilBookingObjectGUI::__construct | ( | $a_parent_obj | ) |
Constructor.
object | $a_parent_obj |
Definition at line 69 of file class.ilBookingObjectGUI.php.
References $_GET, $DIC, ilObjBookingPool\TYPE_NO_SCHEDULE, and user().
ilBookingObjectGUI::applyFilter | ( | ) |
Definition at line 148 of file class.ilBookingObjectGUI.php.
References $table, and render().
ilBookingObjectGUI::assignParticipants | ( | ) |
Definition at line 705 of file class.ilBookingObjectGUI.php.
References $table.
ilBookingObjectGUI::confirmDelete | ( | ) |
ilBookingObjectGUI::create | ( | ilPropertyFormGUI | $a_form = null | ) |
Render creation form.
Definition at line 169 of file class.ilBookingObjectGUI.php.
References $ctrl, $ilCtrl, $lng, $tabs, $tpl, initForm(), and setHelpId().
Referenced by save().
ilBookingObjectGUI::delete | ( | ) |
Delete object.
Definition at line 488 of file class.ilBookingObjectGUI.php.
References $ctrl, $ilCtrl, and $lng.
ilBookingObjectGUI::deliverInfo | ( | ) |
Definition at line 573 of file class.ilBookingObjectGUI.php.
References $id, $object_id, and ilUtil\deliverFile().
ilBookingObjectGUI::deliverPostFile | ( | ) |
Definition at line 679 of file class.ilBookingObjectGUI.php.
References $id, $ilUser, $object_id, $user, ilUtil\deliverFile(), and ilBookingReservation\getObjectReservationForUser().
ilBookingObjectGUI::displayPostInfo | ( | ) |
Definition at line 588 of file class.ilBookingObjectGUI.php.
References $ctrl, $from, $id, $ilCtrl, $ilUser, $lng, $object_id, $time, $tpl, $url, $user, ilDatePresentation\formatPeriod(), ilBookingReservation\getObjectReservationForUser(), IL_CAL_UNIX, ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
ilBookingObjectGUI::edit | ( | ilPropertyFormGUI | $a_form = null | ) |
Render edit form.
Definition at line 194 of file class.ilBookingObjectGUI.php.
References $ctrl, $ilCtrl, $lng, $tabs, $tpl, initForm(), and setHelpId().
Referenced by update().
ilBookingObjectGUI::executeCommand | ( | ) |
main switch
Definition at line 98 of file class.ilBookingObjectGUI.php.
References $ctrl, $form, $ilCtrl, and initForm().
ilBookingObjectGUI::initForm | ( | $a_mode = "create" , |
|
$id = null |
|||
) |
Build property form.
string | $a_mode | |
int | $id |
Definition at line 235 of file class.ilBookingObjectGUI.php.
References $ctrl, $id, $ilCtrl, $lng, $obj_data_cache, PHPMailer\PHPMailer\$options, $post, $title, ilBookingSchedule\getList(), ilAdvancedMDRecordGUI\MODE_EDITOR, ilFileInputGUI\setALlowDeletion(), ilTextAreaInputGUI\setCols(), and ilFormPropertyGUI\setRequired().
Referenced by create(), edit(), executeCommand(), save(), and update().
ilBookingObjectGUI::render | ( | ) |
Render list of booking objects.
Definition at line 125 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 157 of file class.ilBookingObjectGUI.php.
References $table, and render().
ilBookingObjectGUI::rsvCancelUser | ( | ) |
Definition at line 538 of file class.ilBookingObjectGUI.php.
References $_POST, $ctrl, $id, $ilCtrl, $lng, $object_id, $user_to_deasign, ilBookingReservation\getObjectReservationForUser(), ilBookingParticipantGUI\PARTICIPANT_VIEW, ilUtil\sendFailure(), ilBookingReservation\STATUS_CANCELLED, and user().
ilBookingObjectGUI::rsvConfirmCancelUser | ( | ) |
Definition at line 505 of file class.ilBookingObjectGUI.php.
References $_GET, $ctrl, $id, $ilCtrl, $lng, $object_id, $tpl, $type, ilBookingParticipantGUI\PARTICIPANT_VIEW, and setHelpId().
ilBookingObjectGUI::save | ( | ) |
Create new object dataset.
Definition at line 332 of file class.ilBookingObjectGUI.php.
References $ctrl, $form, $ilCtrl, $lng, $valid, create(), initForm(), and ilBookingObject\setPoolId().
|
protected |
Definition at line 216 of file class.ilBookingObjectGUI.php.
References $help.
Referenced by create(), edit(), and rsvConfirmCancelUser().
ilBookingObjectGUI::update | ( | ) |
Update object dataset.
Definition at line 396 of file class.ilBookingObjectGUI.php.
References $ctrl, $form, $ilCtrl, $lng, $valid, edit(), and initForm().
|
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 63 of file class.ilBookingObjectGUI.php.
Referenced by deliverInfo(), deliverPostFile(), displayPostInfo(), rsvCancelUser(), and rsvConfirmCancelUser().
|
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(), and displayPostInfo().
|
protected |
Definition at line 59 of file class.ilBookingObjectGUI.php.
Referenced by rsvCancelUser().