|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilCalendarEntry:
Collaboration diagram for ilCalendarEntry:Public Member Functions | |
| __construct (int $a_id=0) | |
| __clone () | |
| clone instance More... | |
| setContextInfo (string $a_info) | |
| getContextInfo () | |
| getEntryId () | |
| getLastUpdate () | |
| setLastUpdate (ilDateTime $a_date) | |
| getStart () | |
| Get start of date period. More... | |
| setStart (?ilDateTime $a_start) | |
| getEnd () | |
| Get end of period. More... | |
| setEnd (?ilDateTime $a_end) | |
| setTitle (string $a_title) | |
| getTitle () | |
| getPresentationTitle (bool $a_shorten=true) | |
| getPresentationStyle () | |
| setSubtitle (string $a_subtitle) | |
| set subtitle Used for automatic generated appointments. More... | |
| getSubtitle () | |
| setDescription (string $a_description) | |
| getDescription () | |
| setLocation (string $a_location) | |
| getLocation () | |
| setFurtherInformations (string $a_informations) | |
| getFurtherInformations () | |
| setFullday (bool $a_fullday) | |
| set fullday event Fullday events do not change their time in different timezones. More... | |
| isFullday () | |
| is event a fullday period More... | |
| isAutoGenerated () | |
| setAutoGenerated (bool $a_status) | |
| setContextId (int $a_context_id) | |
| getContextId () | |
| setTranslationType (int $a_type) | |
| getTranslationType () | |
| enableNotification (bool $a_status) | |
| isNotificationEnabled () | |
| update () | |
| save () | |
| delete () | |
| validate () | |
| appointmentToMailString (ilLanguage $lng) | |
Static Public Member Functions | |
| static | _delete (int $a_entry_id) |
Data Fields | |
| const | TRANSLATION_NONE = 0 |
| const | TRANSLATION_SYSTEM = 1 |
Protected Member Functions | |
| parseDynamicTitle (string $a_type) | |
| read () | |
Protected Attributes | |
| ilLogger | $log |
| ilDBInterface | $db |
| ilLanguage | $lng |
| ilErrorHandling | $error |
| int | $entry_id = 0 |
| ilDateTime | $last_update = null |
| string | $title = '' |
| string | $presentation_style = '' |
| string | $subtitle = '' |
| string | $description = '' |
| string | $location = '' |
| string | $further_informations = '' |
| ilDateTime | $start = null |
| bool | $fullday = false |
| ilDateTime | $end = null |
| bool | $is_auto_generated = false |
| int | $context_id = 0 |
| string | $context_info = '' |
| int | $translation_type = ilCalendarEntry::TRANSLATION_NONE |
| bool | $notification = false |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Model for a calendar entry.
Definition at line 27 of file class.ilCalendarEntry.php.
| ilCalendarEntry::__construct | ( | int | $a_id = 0 | ) |
Definition at line 54 of file class.ilCalendarEntry.php.
References $DIC, ILIAS\Repository\lng(), and read().
Here is the call graph for this function:| ilCalendarEntry::__clone | ( | ) |
clone instance
Definition at line 71 of file class.ilCalendarEntry.php.
|
static |
Definition at line 76 of file class.ilCalendarEntry.php.
References $DIC, $ilDB, $res, and ilCalendarRecurrence\_delete().
Referenced by ilCalendarCategory\delete(), ilCalendarAppEventListener\deleteAppointments(), and ilCalendarRemoteReader\importIcal().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarEntry::appointmentToMailString | ( | ilLanguage | $lng | ) |
Definition at line 444 of file class.ilCalendarEntry.php.
References ilDatePresentation\formatPeriod(), getDescription(), getEnd(), getLocation(), getStart(), getTitle(), ilDatePresentation\setUseRelativeDates(), and ilLanguage\txt().
Here is the call graph for this function:| ilCalendarEntry::delete | ( | ) |
Definition at line 388 of file class.ilCalendarEntry.php.
References $res, ilCalendarRecurrence\_delete(), ilCalendarCategoryAssignments\_deleteByAppointmentId(), and getEntryId().
Referenced by ilCalendarAppointmentGUI\delete(), and ilBookingObject\deleteReservationsAndCalEntries().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarEntry::enableNotification | ( | bool | $a_status | ) |
Definition at line 317 of file class.ilCalendarEntry.php.
References ILIAS\UI\examples\Symbol\Glyph\Notification\notification().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarEntry::getContextId | ( | ) |
Definition at line 302 of file class.ilCalendarEntry.php.
References $context_id.
Referenced by ilCalendarScheduleFilterConsultationHourInRepository\modifyEvent(), ilCalendarScheduleFilterBookings\modifyEvent(), ilCalendarScheduleFilterExercise\modifyEvent(), ilCalendarScheduleFilterTimings\modifyEvent(), parseDynamicTitle(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getContextInfo | ( | ) |
Definition at line 93 of file class.ilCalendarEntry.php.
References $context_info.
Referenced by ilCalendarScheduleFilterTimings\modifyEvent(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getDescription | ( | ) |
Definition at line 247 of file class.ilCalendarEntry.php.
References $description.
Referenced by appointmentToMailString(), ilCalendarExport\createVEVENT(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getEnd | ( | ) |
Get end of period.
Implements ilDatePeriod.
Definition at line 123 of file class.ilCalendarEntry.php.
References $end.
Referenced by appointmentToMailString(), ilCalendarExport\createVEVENT(), ilCalendarScheduleFilterBookingPool\modifyEvent(), save(), update(), and validate().
Here is the caller graph for this function:| ilCalendarEntry::getEntryId | ( | ) |
Definition at line 98 of file class.ilCalendarEntry.php.
References $entry_id.
Referenced by ilCalendarExport\buildAppointmentUrl(), ilCalendarAppointmentGUI\calendarEntryToCategory(), ilCalendarExport\createRecurrences(), ilCalendarExport\createVEVENT(), delete(), ilCalendarViewGUI\getAppointmentShyButton(), ilCalendarExport\isRepeatingAppointment(), ilCalendarScheduleFilterBookingPool\modifyEvent(), ilCalendarScheduleFilterConsultationHourInRepository\modifyEvent(), ilCalendarScheduleFilterHidden\modifyEvent(), ilCalendarScheduleFilterBookings\modifyEvent(), ilCalendarScheduleFilterExercise\modifyEvent(), ilCalendarScheduleFilterTimings\modifyEvent(), parseDynamicTitle(), read(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getFurtherInformations | ( | ) |
Definition at line 267 of file class.ilCalendarEntry.php.
References $further_informations.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getLastUpdate | ( | ) |
Definition at line 103 of file class.ilCalendarEntry.php.
References IL_CAL_UNIX.
Referenced by ilCalendarExport\createVEVENT().
Here is the caller graph for this function:| ilCalendarEntry::getLocation | ( | ) |
Definition at line 257 of file class.ilCalendarEntry.php.
References $location.
Referenced by appointmentToMailString(), ilCalendarExport\createVEVENT(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getPresentationStyle | ( | ) |
Definition at line 222 of file class.ilCalendarEntry.php.
References $presentation_style.
| ilCalendarEntry::getPresentationTitle | ( | bool | $a_shorten = true | ) |
Definition at line 143 of file class.ilCalendarEntry.php.
References $title, getSubtitle(), getTitle(), getTranslationType(), ILIAS\Repository\lng(), parseDynamicTitle(), ilStr\shortenTextExtended(), ilStr\shortenWords(), and TRANSLATION_NONE.
Referenced by ilCalendarExport\createVEVENT(), ilCalendarViewGUI\getAppointmentShyButton(), and ilCalendarScheduleFilterTimings\modifyEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarEntry::getStart | ( | ) |
Get start of date period.
Implements ilDatePeriod.
Definition at line 113 of file class.ilCalendarEntry.php.
References $start.
Referenced by ilCalendarExport\addCategories(), appointmentToMailString(), ilCalendarExport\createVEVENT(), ilCalendarViewGUI\getAppointmentShyButton(), ilCalendarWeekGUI\getAppointmentTimeString(), ilCalendarAgendaListGUI\getPluginAgendaItem(), parseDynamicTitle(), save(), update(), and validate().
Here is the caller graph for this function:| ilCalendarEntry::getSubtitle | ( | ) |
Definition at line 237 of file class.ilCalendarEntry.php.
References $subtitle.
Referenced by getPresentationTitle(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getTitle | ( | ) |
Definition at line 138 of file class.ilCalendarEntry.php.
References $title.
Referenced by appointmentToMailString(), getPresentationTitle(), ilCalendarScheduleFilterTimings\modifyEvent(), save(), update(), and validate().
Here is the caller graph for this function:| ilCalendarEntry::getTranslationType | ( | ) |
Definition at line 312 of file class.ilCalendarEntry.php.
References $translation_type.
Referenced by getPresentationTitle(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::isAutoGenerated | ( | ) |
Definition at line 287 of file class.ilCalendarEntry.php.
References $is_auto_generated.
Referenced by ilCalendarScheduleFilterTimings\modifyEvent(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::isFullday | ( | ) |
is event a fullday period
Implements ilDatePeriod.
Definition at line 282 of file class.ilCalendarEntry.php.
References $fullday.
Referenced by ilCalendarExport\createVEVENT(), read(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::isNotificationEnabled | ( | ) |
Definition at line 322 of file class.ilCalendarEntry.php.
References $notification.
Referenced by save(), and update().
Here is the caller graph for this function:
|
protected |
Definition at line 168 of file class.ilCalendarEntry.php.
References $title, ilConsultationHourAppointments\getAppointmentIds(), getContextId(), getEntryId(), getStart(), and ILIAS\Repository\lng().
Referenced by getPresentationTitle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 416 of file class.ilCalendarEntry.php.
References $res, enableNotification(), ilDBConstants\FETCHMODE_OBJECT, getEntryId(), IL_CAL_DATETIME, isFullday(), setAutoGenerated(), setContextId(), setContextInfo(), setDescription(), setFullday(), setFurtherInformations(), setLastUpdate(), setLocation(), setSubtitle(), setTitle(), and setTranslationType().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarEntry::save | ( | ) |
Definition at line 354 of file class.ilCalendarEntry.php.
References $res, getContextId(), getContextInfo(), getDescription(), getEnd(), getFurtherInformations(), getLocation(), getStart(), getSubtitle(), getTitle(), getTranslationType(), IL_CAL_DATETIME, IL_CAL_UNIX, isAutoGenerated(), isFullday(), isNotificationEnabled(), and ilTimeZone\UTC.
Here is the call graph for this function:| ilCalendarEntry::setAutoGenerated | ( | bool | $a_status | ) |
Definition at line 292 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setContextId | ( | int | $a_context_id | ) |
Definition at line 297 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setContextInfo | ( | string | $a_info | ) |
Definition at line 88 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setDescription | ( | string | $a_description | ) |
Definition at line 242 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setEnd | ( | ?ilDateTime | $a_end | ) |
Definition at line 128 of file class.ilCalendarEntry.php.
Referenced by ilCalendarScheduleFilterBookingPool\modifyEvent().
Here is the caller graph for this function:| ilCalendarEntry::setFullday | ( | bool | $a_fullday | ) |
set fullday event Fullday events do not change their time in different timezones.
It is possible to create fullday events with a duration of more than one day.
Definition at line 277 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setFurtherInformations | ( | string | $a_informations | ) |
Definition at line 262 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setLastUpdate | ( | ilDateTime | $a_date | ) |
Definition at line 108 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setLocation | ( | string | $a_location | ) |
Definition at line 252 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setStart | ( | ?ilDateTime | $a_start | ) |
Definition at line 118 of file class.ilCalendarEntry.php.
| ilCalendarEntry::setSubtitle | ( | string | $a_subtitle | ) |
set subtitle Used for automatic generated appointments.
Will be appended to the title.
Definition at line 232 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setTitle | ( | string | $a_title | ) |
Definition at line 133 of file class.ilCalendarEntry.php.
Referenced by ilCalendarScheduleFilterTimings\modifyEvent(), and read().
Here is the caller graph for this function:| ilCalendarEntry::setTranslationType | ( | int | $a_type | ) |
Definition at line 307 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::update | ( | ) |
Definition at line 327 of file class.ilCalendarEntry.php.
References $res, getContextId(), getContextInfo(), getDescription(), getEnd(), getEntryId(), getFurtherInformations(), getLocation(), getStart(), getSubtitle(), getTitle(), getTranslationType(), IL_CAL_DATETIME, IL_CAL_UNIX, isAutoGenerated(), isFullday(), isNotificationEnabled(), and ilTimeZone\UTC.
Here is the call graph for this function:| ilCalendarEntry::validate | ( | ) |
Definition at line 399 of file class.ilCalendarEntry.php.
References ilDateTime\_before(), getEnd(), getStart(), getTitle(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 49 of file class.ilCalendarEntry.php.
Referenced by getContextId().
|
protected |
Definition at line 50 of file class.ilCalendarEntry.php.
Referenced by getContextInfo().
|
protected |
Definition at line 33 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 42 of file class.ilCalendarEntry.php.
Referenced by getDescription().
|
protected |
Definition at line 47 of file class.ilCalendarEntry.php.
Referenced by getEnd().
|
protected |
Definition at line 37 of file class.ilCalendarEntry.php.
Referenced by getEntryId().
|
protected |
Definition at line 35 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 46 of file class.ilCalendarEntry.php.
Referenced by isFullday().
|
protected |
Definition at line 44 of file class.ilCalendarEntry.php.
Referenced by getFurtherInformations().
|
protected |
Definition at line 48 of file class.ilCalendarEntry.php.
Referenced by isAutoGenerated().
|
protected |
Definition at line 38 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 34 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 43 of file class.ilCalendarEntry.php.
Referenced by getLocation().
|
protected |
Definition at line 32 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 52 of file class.ilCalendarEntry.php.
Referenced by isNotificationEnabled().
|
protected |
Definition at line 40 of file class.ilCalendarEntry.php.
Referenced by getPresentationStyle().
|
protected |
Definition at line 45 of file class.ilCalendarEntry.php.
Referenced by getStart().
|
protected |
Definition at line 41 of file class.ilCalendarEntry.php.
Referenced by getSubtitle().
|
protected |
Definition at line 39 of file class.ilCalendarEntry.php.
Referenced by getPresentationTitle(), getTitle(), and parseDynamicTitle().
|
protected |
Definition at line 51 of file class.ilCalendarEntry.php.
Referenced by getTranslationType().
| const ilCalendarEntry::TRANSLATION_NONE = 0 |
Definition at line 29 of file class.ilCalendarEntry.php.
Referenced by getPresentationTitle(), ilObjSession\prepareCalendarAppointments(), and ilObjEmployeeTalk\read().
| const ilCalendarEntry::TRANSLATION_SYSTEM = 1 |
Definition at line 30 of file class.ilCalendarEntry.php.
Referenced by ilConsultationHoursGUI\createAppointments(), ilExAssignment\handleCalendarEntries(), ilObjGroup\prepareAppointments(), and ilObjCourse\prepareAppointments().