|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Administrate calendar appointments. More...
Collaboration diagram for ilCalendarAppointmentGUI:Public Member Functions | |
| __construct (ilDate $seed, ilDate $initialDate, int $a_appointment_id=0) | |
| executeCommand () | |
| getAppointment () | |
| confirmUnregister () | |
| book () | |
| Confirmation screen for booking of consultation appointment. More... | |
| bookconfirmed () | |
| Book consultation appointment, was confirmed. More... | |
| cancelBooking (bool $send_mail=true) | |
| Confirmation screen to cancel consultation appointment or ressource booking depends on calendar category. More... | |
| cancelConfirmed (bool $send_mail=true) | |
| Cancel consultation appointment or ressource booking, was confirmed This will delete the calendar entry. More... | |
Protected Member Functions | |
| getAppointmentIdFromQuery () | |
| getRecurrenceExclusionFromQuery () | |
| getRecurrenceDateFromQuery () | |
| cancel () | |
| readAndPrepareCalendarSelection (string $mode) | |
| doUserAutoComplete () | |
| Currently not in use, but will be as soon as tag inputs support autocomplete, see ilCalendarAppointmentGUI::initForm. More... | |
| add (?Form $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, ?Form $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) | |
| loadNotificationRecipients (array $recipients) | |
| loadRecurrenceSettings (?ilCalendarRecurrence $recurrence) | |
| saveRecurrenceSettings () | |
| createDefaultCalendar () | |
| confirmRegister () | |
| Register to an appointment. More... | |
| register () | |
| unregister () | |
| Unregister calendar, was confirmed. More... | |
| initFormConfirmBooking () | |
| deleteBooking () | |
| deleteConfirmed () | |
| 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 |
| UIFactory | $ui_factory |
| UIRenderer | $ui_renderer |
Private Attributes | |
| Form | $form |
| ilCalendarUserNotification | $notification |
| ilLogger | $logger |
Administrate calendar appointments.
Definition at line 35 of file class.ilCalendarAppointmentGUI.php.
| ilCalendarAppointmentGUI::__construct | ( | ilDate | $seed, |
| ilDate | $initialDate, | ||
| int | $a_appointment_id = 0 |
||
| ) |
Definition at line 66 of file class.ilCalendarAppointmentGUI.php.
References $DIC, ILIAS\Repository\ctrl(), error(), 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 459 of file class.ilCalendarAppointmentGUI.php.
References $form, and ILIAS\Repository\help().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 770 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 583 of file class.ilCalendarAppointmentGUI.php.
References $rec, 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 1184 of file class.ilCalendarAppointmentGUI.php.
References $form, $user, ilObjUser\_lookupFullname(), ILIAS\Repository\ctrl(), ilDatePresentation\formatPeriod(), getAppointmentIdFromQuery(), and initFormConfirmBooking().
Here is the call graph for this function:| ilCalendarAppointmentGUI::bookconfirmed | ( | ) |
Book consultation appointment, was confirmed.
Definition at line 1226 of file class.ilCalendarAppointmentGUI.php.
References $form, $GLOBALS, ilConsultationHourUtils\bookAppointment(), ILIAS\Repository\ctrl(), getAppointmentIdFromQuery(), initFormConfirmBooking(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Get category object of given calendar entry.
Definition at line 1360 of file class.ilCalendarAppointmentGUI.php.
References ilCalendarEntry\getEntryId().
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 159 of file class.ilCalendarAppointmentGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilCalendarAppointmentGUI::cancelBooking | ( | bool | $send_mail = true | ) |
Confirmation screen to cancel consultation appointment or ressource booking depends on calendar category.
Definition at line 1256 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.
Referenced by deleteBooking().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarAppointmentGUI::cancelConfirmed | ( | bool | $send_mail = true | ) |
Cancel consultation appointment or ressource booking, was confirmed This will delete the calendar entry.
Definition at line 1305 of file class.ilCalendarAppointmentGUI.php.
References calendarEntryToCategory(), ilConsultationHourUtils\cancelBooking(), ILIAS\Repository\ctrl(), ilConsultationHourAppointments\getAppointmentIds(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilBookingReservation\STATUS_CANCELLED, ilCalendarCategory\TYPE_BOOK, ilCalendarCategory\TYPE_CH, and ILIAS\Repository\user().
Referenced by deleteConfirmed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Register to an appointment.
Definition at line 1037 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 1107 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 1020 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 811 of file class.ilCalendarAppointmentGUI.php.
References $app, 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 1247 of file class.ilCalendarAppointmentGUI.php.
References cancelBooking().
Here is the call graph for this function:
|
protected |
Definition at line 1296 of file class.ilCalendarAppointmentGUI.php.
References cancelConfirmed().
Here is the call graph for this function:
|
protected |
Definition at line 832 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 542 of file class.ilCalendarAppointmentGUI.php.
References $notification, $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 519 of file class.ilCalendarAppointmentGUI.php.
References $notification, ANONYMOUS_USER_ID, ILIAS\UI\examples\Symbol\Glyph\Notification\notification(), ilCalendarUserNotification\setRecipients(), ilCalendarUserNotification\TYPE_EMAIL, ilCalendarMailNotification\TYPE_USER, ilCalendarUserNotification\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 |
Currently not in use, but will be as soon as tag inputs support autocomplete, see ilCalendarAppointmentGUI::initForm.
Definition at line 404 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 618 of file class.ilCalendarAppointmentGUI.php.
References $duration, $form, ilDateTime\_equals(), ilCalendarCategories\_getInstance(), ilCalendarCategoryAssignments\_lookupCategory(), ILIAS\Repository\ctrl(), error(), getAppointment(), getRecurrenceDateFromQuery(), ILIAS\Repository\help(), IL_CAL_DAY, IL_CAL_UNIX, 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:
|
protected |
Edit one single appointment ^.
Definition at line 608 of file class.ilCalendarAppointmentGUI.php.
References ILIAS\Repository\ctrl(), and edit().
Here is the call graph for this function:| ilCalendarAppointmentGUI::executeCommand | ( | ) |
Definition at line 133 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 | ( | ) |
|
protected |
Definition at line 93 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 122 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 104 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 894 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 1203 of file class.ilCalendarAppointmentGUI.php.
References $form, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
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 860 of file class.ilCalendarAppointmentGUI.php.
References $initialDate, ilDateTime\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 888 of file class.ilCalendarAppointmentGUI.php.
References $seed.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 855 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 |
| string[] | $recipients |
Definition at line 961 of file class.ilCalendarAppointmentGUI.php.
References ilObjUser\_loginExists(), ILIAS\Repository\int(), ILIAS\UI\examples\Symbol\Glyph\Notification\notification(), ilCalendarUserNotification\TYPE_EMAIL, and ilCalendarUserNotification\TYPE_USER.
Here is the call graph for this function:
|
protected |
Definition at line 990 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 350 of file class.ilCalendarAppointmentGUI.php.
References $ref_id, ilCalendarCategories\_getInstance(), ilCalendarCategories\_lookupCategoryIdByObjId(), ilObject\_lookupObjId(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 1073 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 471 of file class.ilCalendarAppointmentGUI.php.
References $data, ilCalendarSettings\_getInstance(), add(), createDefaultCalendar(), ILIAS\Repository\ctrl(), distributeNotifications(), distributeUserNotifications(), error(), ILIAS\Repository\form(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\UI\examples\Symbol\Glyph\Notification\notification(), and saveRecurrenceSettings().
Here is the call graph for this function:
|
protected |
Definition at line 999 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 669 of file class.ilCalendarAppointmentGUI.php.
References $info, 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 1147 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 713 of file class.ilCalendarAppointmentGUI.php.
References $data, $notification, $requested_rexl, ilCalendarSettings\_getInstance(), createDefaultCalendar(), ILIAS\Repository\ctrl(), distributeNotifications(), distributeUserNotifications(), edit(), error(), ILIAS\Repository\form(), ilDatePresentation\formatDate(), getAppointment(), getRecurrenceDateFromQuery(), IL_CAL_UNIX, ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\UI\examples\Symbol\Glyph\Notification\notification(), and saveRecurrenceSettings().
Here is the call graph for this function:
|
protected |
Definition at line 44 of file class.ilCalendarAppointmentGUI.php.
Referenced by delete(), and getAppointment().
|
protected |
Definition at line 50 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 43 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 55 of file class.ilCalendarAppointmentGUI.php.
|
private |
Definition at line 37 of file class.ilCalendarAppointmentGUI.php.
Referenced by add(), book(), bookconfirmed(), edit(), and initFormConfirmBooking().
|
protected |
Definition at line 54 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 57 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 42 of file class.ilCalendarAppointmentGUI.php.
Referenced by initAppointment(), and initInitialDate().
|
protected |
Definition at line 49 of file class.ilCalendarAppointmentGUI.php.
|
private |
Definition at line 56 of file class.ilCalendarAppointmentGUI.php.
|
private |
Definition at line 38 of file class.ilCalendarAppointmentGUI.php.
Referenced by distributeNotifications(), distributeUserNotifications(), and update().
|
protected |
Definition at line 45 of file class.ilCalendarAppointmentGUI.php.
Referenced by askEdit().
|
protected |
Definition at line 58 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 59 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 39 of file class.ilCalendarAppointmentGUI.php.
Referenced by update().
|
protected |
Definition at line 41 of file class.ilCalendarAppointmentGUI.php.
Referenced by initSeed().
|
protected |
Definition at line 53 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 52 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 46 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 48 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 60 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 61 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 51 of file class.ilCalendarAppointmentGUI.php.
Referenced by book().