|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Administrate calendar appointments. More...
Collaboration diagram for ilCalendarAppointmentGUI:Public Member Functions | |
| __construct (ilDate $seed, ilDate $initialDate, int $a_appointment_id=0) | |
| executeCommand () | |
| getAppointment () | |
| editResponsibleUsers () | |
| confirmUnregister () | |
| book () | |
| Confirmation screen for booking of consultation appointment. More... | |
| bookconfirmed () | |
| Book consultation appointment, was confirmed. More... | |
| cancelBooking () | |
| Confirmation screen to cancel consultation appointment or ressource booking depends on calendar category. More... | |
| cancelConfirmed () | |
| Cancel consultation appointment or ressource booking, was confirmed This will delete the calendar entry. More... | |
Protected Member Functions | |
| getAppointmentIdFromQuery () | |
| getRecurrenceExclusionFromQuery () | |
| getRecurrenceDateFromQuery () | |
| cancel () | |
| initForm (string $a_mode, bool $a_edit_single_app=false) | |
| doUserAutoComplete () | |
| add (?ilPropertyFormGUI $form=null) | |
| add new appointment More... | |
| save () | |
| distributeUserNotifications () | |
| Send mail to selected users. More... | |
| distributeNotifications (int $a_cat_id, int $app_id, bool $a_new_appointment=true) | |
| askEdit () | |
| Check edit single apppointment / edit all appointments for recurring appointments. More... | |
| editSingle () | |
| Edit one single appointment ^. More... | |
| edit (bool $a_edit_single_app=false, ilPropertyFormGUI $form=null) | |
| edit appointment More... | |
| showInfoScreen () | |
| update () | |
| askDelete () | |
| delete () | |
| deleteExclude (bool $a_return=true) | |
| initTimeZone () | |
| initInitialDate (ilDate $initialDate) | |
| initSeed (ilDate $seed) | |
| initAppointment (int $a_app_id=0) | |
| load ($a_mode) | |
| loadNotificationRecipients (ilPropertyFormGUI $form) | |
| loadRecurrenceSettings (ilPropertyFormGUI $form) | |
| saveRecurrenceSettings () | |
| createDefaultCalendar () | |
| confirmRegister () | |
| Register to an appointment. More... | |
| register () | |
| unregister () | |
| Unregister calendar, was confirmed. More... | |
| initFormConfirmBooking () | |
| calendarEntryToCategory (ilCalendarEntry $entry) | |
| Get category object of given calendar entry. More... | |
Protected Attributes | |
| bool | $requested_rexl |
| ilDate | $seed |
| ilDateTime | $initialDate |
| bool | $default_fulltime = true |
| ilCalendarEntry | $app |
| ilCalendarRecurrence | $rec |
| string | $timezone |
| ilGlobalTemplateInterface | $tpl |
| ilLanguage | $lng |
| ilCtrlInterface | $ctrl |
| ilObjUser | $user |
| ilTabsGUI | $tabs |
| ilSetting | $settings |
| ilHelpGUI | $help |
| ilErrorHandling | $error |
| HTTPServices | $http |
| RefineryFactory | $refinery |
| RequestInterface | $request |
Private Attributes | |
| ilPropertyFormGUI | $form |
| ilCalendarUserNotification | $notification |
| ilLogger | $logger |
Administrate calendar appointments.
Definition at line 31 of file class.ilCalendarAppointmentGUI.php.
| ilCalendarAppointmentGUI::__construct | ( | ilDate | $seed, |
| ilDate | $initialDate, | ||
| int | $a_appointment_id = 0 |
||
| ) |
Definition at line 60 of file class.ilCalendarAppointmentGUI.php.
References $DIC, ILIAS\Repository\ctrl(), getRecurrenceExclusionFromQuery(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), initAppointment(), initInitialDate(), initSeed(), initTimeZone(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\refinery(), ILIAS\Repository\settings(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
add new appointment
Definition at line 382 of file class.ilCalendarAppointmentGUI.php.
References ilPropertyFormGUI\getHTML(), ILIAS\Repository\help(), and initForm().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 700 of file class.ilCalendarAppointmentGUI.php.
References ilCalendarRecurrences\_getRecurrences(), ILIAS\Repository\ctrl(), ILIAS\Repository\int(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Check edit single apppointment / edit all appointments for recurring appointments.
Definition at line 514 of file class.ilCalendarAppointmentGUI.php.
References ilCalendarRecurrences\_getRecurrences(), ILIAS\Repository\ctrl(), edit(), getAppointment(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilCalendarAppointmentGUI::book | ( | ) |
Confirmation screen for booking of consultation appointment.
Definition at line 1095 of file class.ilCalendarAppointmentGUI.php.
References ilObjUser\_lookupFullname(), ILIAS\Repository\ctrl(), ilDatePresentation\formatPeriod(), getAppointmentIdFromQuery(), ilPropertyFormGUI\getHTML(), ilPropertyFormGUI\getItemByPostVar(), and initFormConfirmBooking().
Here is the call graph for this function:| ilCalendarAppointmentGUI::bookconfirmed | ( | ) |
Book consultation appointment, was confirmed.
Definition at line 1137 of file class.ilCalendarAppointmentGUI.php.
References $GLOBALS, ilConsultationHourUtils\bookAppointment(), ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), getAppointmentIdFromQuery(), ilPropertyFormGUI\getInput(), initFormConfirmBooking(), ILIAS\Repository\lng(), ILIAS\Repository\user(), and ilBookingEntry\writeBookingMessage().
Here is the call graph for this function:
|
protected |
Get category object of given calendar entry.
Definition at line 1246 of file class.ilCalendarAppointmentGUI.php.
References ilCalendarEntry\getEntryId(), and ilCalendarCategoryAssignments\getFirstAssignment().
Referenced by cancelBooking(), and cancelConfirmed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 152 of file class.ilCalendarAppointmentGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilCalendarAppointmentGUI::cancelBooking | ( | ) |
Confirmation screen to cancel consultation appointment or ressource booking depends on calendar category.
Definition at line 1163 of file class.ilCalendarAppointmentGUI.php.
References ilObjUser\_lookupFullname(), calendarEntryToCategory(), ILIAS\Repository\ctrl(), ilDatePresentation\formatPeriod(), getAppointmentIdFromQuery(), ILIAS\Repository\lng(), ilCalendarCategory\TYPE_BOOK, and ilCalendarCategory\TYPE_CH.
Here is the call graph for this function:| ilCalendarAppointmentGUI::cancelConfirmed | ( | ) |
Cancel consultation appointment or ressource booking, was confirmed This will delete the calendar entry.
Definition at line 1200 of file class.ilCalendarAppointmentGUI.php.
References calendarEntryToCategory(), ilBookingEntry\cancelBooking(), ILIAS\Repository\ctrl(), ilConsultationHourAppointments\getAppointmentIds(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilBookingReservation\setStatus(), ilBookingReservation\STATUS_CANCELLED, ilCalendarCategory\TYPE_BOOK, ilCalendarCategory\TYPE_CH, and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Register to an appointment.
Definition at line 948 of file class.ilCalendarAppointmentGUI.php.
References ILIAS\Repository\ctrl(), ilDatePresentation\formatPeriod(), getAppointmentIdFromQuery(), ILIAS\FileDelivery\http(), IL_CAL_UNIX, ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilCalendarAppointmentGUI::confirmUnregister | ( | ) |
Definition at line 1018 of file class.ilCalendarAppointmentGUI.php.
References ILIAS\Repository\ctrl(), ilDatePresentation\formatPeriod(), getAppointmentIdFromQuery(), ILIAS\FileDelivery\http(), IL_CAL_UNIX, ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 931 of file class.ilCalendarAppointmentGUI.php.
References ilCalendarCategory\DEFAULT_COLOR, ilCalendarCache\getInstance(), ILIAS\Repository\lng(), ilCalendarCategory\TYPE_USR, and ILIAS\Repository\user().
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 741 of file class.ilCalendarAppointmentGUI.php.
References ilCalendarCategoryAssignments\_deleteByAppointmentId(), ILIAS\Repository\ctrl(), ilCalendarEntry\delete(), ilCalendarUserNotification\deleteCalendarEntry(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and ILIAS\Repository\logger().
Here is the call graph for this function:
|
protected |
Definition at line 762 of file class.ilCalendarAppointmentGUI.php.
References ILIAS\Repository\ctrl(), IL_CAL_UNIX, ILIAS\Repository\int(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 466 of file class.ilCalendarAppointmentGUI.php.
References $ref_id, ilObject\_getAllReferences(), ilCalendarCategories\_getInstance(), ilCalendarMailNotification\TYPE_CRS_NEW_NOTIFICATION, ilCalendarMailNotification\TYPE_CRS_NOTIFICATION, ilCalendarMailNotification\TYPE_GRP_NEW_NOTIFICATION, ilCalendarMailNotification\TYPE_GRP_NOTIFICATION, and ilCalendarCategory\TYPE_OBJ.
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Send mail to selected users.
Definition at line 443 of file class.ilCalendarAppointmentGUI.php.
References ANONYMOUS_USER_ID, ILIAS\UI\examples\Symbol\Glyph\Notification\notification(), ilCalendarUserNotification\setRecipients(), ilCalendarUserNotification\TYPE_EMAIL, ilCalendarUserNotification\TYPE_USER, ilCalendarMailNotification\TYPE_USER, and ilCalendarMailNotification\TYPE_USER_ANONYMOUS.
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 327 of file class.ilCalendarAppointmentGUI.php.
References ANONYMOUS_USER_ID, exit, ILIAS\FileDelivery\http(), ilUserAutoComplete\MAX_ENTRIES, ilUserAutoComplete\PRIVACY_MODE_RESPECT_USER_SETTING, ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
edit appointment
Definition at line 549 of file class.ilCalendarAppointmentGUI.php.
References $duration, ilDateTime\_equals(), ilCalendarCategories\_getInstance(), ilCalendarCategoryAssignments\_lookupCategory(), ILIAS\Repository\ctrl(), getAppointment(), ilPropertyFormGUI\getHTML(), getRecurrenceDateFromQuery(), ILIAS\Repository\help(), IL_CAL_DAY, IL_CAL_UNIX, initForm(), ILIAS\Repository\lng(), showInfoScreen(), and ILIAS\Repository\user().
Referenced by askEdit(), editSingle(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarAppointmentGUI::editResponsibleUsers | ( | ) |
Definition at line 504 of file class.ilCalendarAppointmentGUI.php.
References ilCalendarCategories\_getInstance(), and ilCalendarCategoryAssignments\_lookupCategory().
Here is the call graph for this function:
|
protected |
Edit one single appointment ^.
Definition at line 539 of file class.ilCalendarAppointmentGUI.php.
References ILIAS\Repository\ctrl(), and edit().
Here is the call graph for this function:| ilCalendarAppointmentGUI::executeCommand | ( | ) |
Definition at line 126 of file class.ilCalendarAppointmentGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Here is the call graph for this function:| ilCalendarAppointmentGUI::getAppointment | ( | ) |
Definition at line 147 of file class.ilCalendarAppointmentGUI.php.
References $app.
Referenced by askEdit(), edit(), and update().
Here is the caller graph for this function:
|
protected |
Definition at line 86 of file class.ilCalendarAppointmentGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by book(), bookconfirmed(), cancelBooking(), confirmRegister(), and confirmUnregister().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 115 of file class.ilCalendarAppointmentGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by edit(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 97 of file class.ilCalendarAppointmentGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 824 of file class.ilCalendarAppointmentGUI.php.
References $initialDate, ilCalendarRecurrences\_getFirstRecurrence(), IL_CAL_HOUR, ilDateTime\increment(), and ILIAS\UI\examples\Symbol\Glyph\Notification\notification().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 157 of file class.ilCalendarAppointmentGUI.php.
References $form, $ref_id, ilCalendarCategories\_getInstance(), ilCalendarSettings\_getInstance(), ilCalendarCategories\_lookupCategoryIdByObjId(), ilObjUser\_lookupLogin(), ilObject\_lookupObjId(), ilObject\_lookupType(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilCalendarCategoryAssignments\getFirstAssignment(), ILIAS\FileDelivery\http(), ilYuiUtil\initDomEvent(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\UI\examples\Symbol\Glyph\Notification\notification(), ILIAS\Repository\refinery(), ilCalendarRecurrence\setRecurrence(), ilTextAreaInputGUI\setValue(), ilCalendarUserNotification\TYPE_EMAIL, ilCalendarCategory\TYPE_OBJ, ilCalendarUserNotification\TYPE_USER, and ILIAS\Repository\user().
Referenced by add(), edit(), and load().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1114 of file class.ilCalendarAppointmentGUI.php.
References $form, $message, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilFormGUI\setFormAction().
Referenced by book(), and bookconfirmed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 790 of file class.ilCalendarAppointmentGUI.php.
References $initialDate, $timezone, ilDate\get(), ILIAS\FileDelivery\http(), IL_CAL_DATE, IL_CAL_DATETIME, ILIAS\Repository\int(), and ILIAS\Repository\refinery().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 818 of file class.ilCalendarAppointmentGUI.php.
References $seed.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 785 of file class.ilCalendarAppointmentGUI.php.
References ILIAS\Repository\user().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 848 of file class.ilCalendarAppointmentGUI.php.
References $form, ILIAS\Repository\form(), ilPropertyFormGUI\getInput(), initForm(), loadNotificationRecipients(), and loadRecurrenceSettings().
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 872 of file class.ilCalendarAppointmentGUI.php.
References ilObjUser\_loginExists(), ilPropertyFormGUI\getInput(), ILIAS\Repository\int(), ILIAS\UI\examples\Symbol\Glyph\Notification\notification(), ilCalendarUserNotification\TYPE_EMAIL, and ilCalendarUserNotification\TYPE_USER.
Referenced by load().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 901 of file class.ilCalendarAppointmentGUI.php.
References ilPropertyFormGUI\getItemByPostVar().
Referenced by load().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 984 of file class.ilCalendarAppointmentGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), IL_CAL_UNIX, ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 394 of file class.ilCalendarAppointmentGUI.php.
References ilCalendarSettings\_getInstance(), add(), ilCalendarCategoryAssignments\addAssignment(), createDefaultCalendar(), ILIAS\Repository\ctrl(), distributeNotifications(), distributeUserNotifications(), ILIAS\Repository\form(), ilPropertyFormGUI\getInput(), ILIAS\Repository\int(), ILIAS\Repository\lng(), load(), ILIAS\UI\examples\Symbol\Glyph\Notification\notification(), and saveRecurrenceSettings().
Here is the call graph for this function:
|
protected |
Definition at line 910 of file class.ilCalendarAppointmentGUI.php.
References ilCalendarRecurrence\FREQ_NONE.
Referenced by save(), and update().
Here is the caller graph for this function:
|
protected |
Definition at line 600 of file class.ilCalendarAppointmentGUI.php.
References ilObject\_getAllReferences(), ilCalendarCategories\_getInstance(), ilLink\_getStaticLink(), ilCalendarCategoryAssignments\_lookupCategory(), ilObject\_lookupType(), ILIAS\Repository\ctrl(), ilDatePresentation\formatPeriod(), ILIAS\Repository\lng(), and ilCalendarCategory\TYPE_OBJ.
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Unregister calendar, was confirmed.
Definition at line 1058 of file class.ilCalendarAppointmentGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), IL_CAL_UNIX, ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 644 of file class.ilCalendarAppointmentGUI.php.
References $requested_rexl, ilCalendarSettings\_getInstance(), createDefaultCalendar(), ILIAS\Repository\ctrl(), ilCalendarCategoryAssignments\deleteAssignments(), distributeNotifications(), distributeUserNotifications(), edit(), ILIAS\Repository\form(), ilDatePresentation\formatDate(), getAppointment(), ilPropertyFormGUI\getInput(), getRecurrenceDateFromQuery(), IL_CAL_UNIX, ILIAS\Repository\int(), ILIAS\Repository\lng(), load(), ILIAS\Repository\logger(), ILIAS\UI\examples\Symbol\Glyph\Notification\notification(), and saveRecurrenceSettings().
Here is the call graph for this function:
|
protected |
Definition at line 40 of file class.ilCalendarAppointmentGUI.php.
Referenced by getAppointment().
|
protected |
Definition at line 46 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 39 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 51 of file class.ilCalendarAppointmentGUI.php.
|
private |
Definition at line 33 of file class.ilCalendarAppointmentGUI.php.
Referenced by initForm(), initFormConfirmBooking(), and load().
|
protected |
Definition at line 50 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 53 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 38 of file class.ilCalendarAppointmentGUI.php.
Referenced by initAppointment(), and initInitialDate().
|
protected |
Definition at line 45 of file class.ilCalendarAppointmentGUI.php.
|
private |
Definition at line 52 of file class.ilCalendarAppointmentGUI.php.
|
private |
Definition at line 34 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 41 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 54 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 55 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 35 of file class.ilCalendarAppointmentGUI.php.
Referenced by update().
|
protected |
Definition at line 37 of file class.ilCalendarAppointmentGUI.php.
Referenced by initSeed().
|
protected |
Definition at line 49 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 48 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 42 of file class.ilCalendarAppointmentGUI.php.
Referenced by initInitialDate().
|
protected |
Definition at line 44 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 47 of file class.ilCalendarAppointmentGUI.php.