|
ILIAS
release_8 Revision v8.24
|
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) | |
| isMilestone () | |
| setMilestone (bool $a_status) | |
| setCompletion (int $a_completion) | |
| getCompletion () | |
| setContextId (int $a_context_id) | |
| getContextId () | |
| setTranslationType (int $a_type) | |
| getTranslationType () | |
| enableNotification (bool $a_status) | |
| isNotificationEnabled () | |
| update () | |
| save () | |
| delete () | |
| validate () | |
| appointmentToMailString (ilLanguage $lng) | |
| writeResponsibleUsers (array $a_users) | |
| readResponsibleUsers () | |
| getStart () | |
| Get start of date period. More... | |
| getEnd () | |
| Get end of period. More... | |
| isFullday () | |
| is event a fullday period More... | |
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 | $is_milestone = false |
| int | $completion = 0 |
| bool | $notification = false |
| array | $responsible_users = [] |
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 57 of file class.ilCalendarEntry.php.
References $DIC, error(), ILIAS\Repository\lng(), and read().
Here is the call graph for this function:| ilCalendarEntry::__clone | ( | ) |
clone instance
Definition at line 74 of file class.ilCalendarEntry.php.
|
static |
Definition at line 79 of file class.ilCalendarEntry.php.
References $DIC, $ilDB, $query, $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 465 of file class.ilCalendarEntry.php.
References $lng, 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 407 of file class.ilCalendarEntry.php.
References $query, $res, ilCalendarRecurrence\_delete(), ilCalendarCategoryAssignments\_deleteByAppointmentId(), and getEntryId().
Here is the call graph for this function:| ilCalendarEntry::enableNotification | ( | bool | $a_status | ) |
Definition at line 340 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::getCompletion | ( | ) |
Definition at line 315 of file class.ilCalendarEntry.php.
References $completion.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getContextId | ( | ) |
Definition at line 325 of file class.ilCalendarEntry.php.
References $context_id.
Referenced by ilCalendarScheduleFilterTimings\modifyEvent(), ilCalendarScheduleFilterBookings\modifyEvent(), ilCalendarScheduleFilterConsultationHourInRepository\modifyEvent(), ilCalendarScheduleFilterExercise\modifyEvent(), parseDynamicTitle(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getContextInfo | ( | ) |
Definition at line 96 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 250 of file class.ilCalendarEntry.php.
References $description.
Referenced by appointmentToMailString(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getEnd | ( | ) |
Get end of period.
Implements ilDatePeriod.
Definition at line 126 of file class.ilCalendarEntry.php.
References $end.
Referenced by appointmentToMailString(), ilCalendarScheduleFilterBookingPool\modifyEvent(), save(), update(), and validate().
Here is the caller graph for this function:| ilCalendarEntry::getEntryId | ( | ) |
Definition at line 101 of file class.ilCalendarEntry.php.
References $entry_id.
Referenced by ilCalendarExport\buildAppointmentUrl(), ilCalendarAppointmentGUI\calendarEntryToCategory(), ilCalendarExport\createVEVENT(), delete(), ilCalendarExport\isRepeatingAppointment(), ilCalendarScheduleFilterTimings\modifyEvent(), ilCalendarScheduleFilterBookings\modifyEvent(), ilCalendarScheduleFilterConsultationHourInRepository\modifyEvent(), ilCalendarScheduleFilterExercise\modifyEvent(), ilCalendarScheduleFilterHidden\modifyEvent(), ilCalendarScheduleFilterBookingPool\modifyEvent(), parseDynamicTitle(), read(), readResponsibleUsers(), update(), and writeResponsibleUsers().
Here is the caller graph for this function:| ilCalendarEntry::getFurtherInformations | ( | ) |
Definition at line 270 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 106 of file class.ilCalendarEntry.php.
References IL_CAL_UNIX.
| ilCalendarEntry::getLocation | ( | ) |
Definition at line 260 of file class.ilCalendarEntry.php.
References $location.
Referenced by appointmentToMailString(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getPresentationStyle | ( | ) |
Definition at line 225 of file class.ilCalendarEntry.php.
References $presentation_style.
| ilCalendarEntry::getPresentationTitle | ( | bool | $a_shorten = true | ) |
Definition at line 146 of file class.ilCalendarEntry.php.
References $subtitle, $title, getSubtitle(), getTitle(), getTranslationType(), ILIAS\Repository\lng(), parseDynamicTitle(), ilStr\shortenTextExtended(), ilStr\shortenWords(), and TRANSLATION_NONE.
Referenced by 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 116 of file class.ilCalendarEntry.php.
References $start.
Referenced by appointmentToMailString(), ilCalendarWeekGUI\getAppointmentTimeString(), ilCalendarAgendaListGUI\getPluginAgendaItem(), save(), update(), and validate().
Here is the caller graph for this function:| ilCalendarEntry::getSubtitle | ( | ) |
Definition at line 240 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 141 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 335 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 290 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 285 of file class.ilCalendarEntry.php.
References $fullday.
Referenced by read(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::isMilestone | ( | ) |
Definition at line 300 of file class.ilCalendarEntry.php.
References $is_milestone.
Referenced by ilCalendarExport\createAppointment(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::isNotificationEnabled | ( | ) |
Definition at line 345 of file class.ilCalendarEntry.php.
References $notification.
Referenced by save(), and update().
Here is the caller graph for this function:
|
protected |
Definition at line 171 of file class.ilCalendarEntry.php.
References $title, ilConsultationHourAppointments\getAppointmentIds(), getContextId(), getEntryId(), 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 435 of file class.ilCalendarEntry.php.
References $query, $res, enableNotification(), ilDBConstants\FETCHMODE_OBJECT, getEntryId(), IL_CAL_DATETIME, isFullday(), setAutoGenerated(), setCompletion(), setContextId(), setContextInfo(), setDescription(), setFullday(), setFurtherInformations(), setLastUpdate(), setLocation(), setMilestone(), setSubtitle(), setTitle(), and setTranslationType().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarEntry::readResponsibleUsers | ( | ) |
Definition at line 507 of file class.ilCalendarEntry.php.
References ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), and getEntryId().
Here is the call graph for this function:| ilCalendarEntry::save | ( | ) |
Definition at line 375 of file class.ilCalendarEntry.php.
References $query, $res, getCompletion(), getContextId(), getContextInfo(), getDescription(), getEnd(), getFurtherInformations(), getLocation(), getStart(), getSubtitle(), getTitle(), getTranslationType(), IL_CAL_DATETIME, IL_CAL_UNIX, isAutoGenerated(), isFullday(), isMilestone(), isNotificationEnabled(), and ilTimeZone\UTC.
Here is the call graph for this function:| ilCalendarEntry::setAutoGenerated | ( | bool | $a_status | ) |
Definition at line 295 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setCompletion | ( | int | $a_completion | ) |
Definition at line 310 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 320 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setContextInfo | ( | string | $a_info | ) |
Definition at line 91 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setDescription | ( | string | $a_description | ) |
Definition at line 245 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setEnd | ( | ?ilDateTime | $a_end | ) |
Definition at line 131 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 280 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setFurtherInformations | ( | string | $a_informations | ) |
Definition at line 265 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setLastUpdate | ( | ilDateTime | $a_date | ) |
Definition at line 111 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setLocation | ( | string | $a_location | ) |
Definition at line 255 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setMilestone | ( | bool | $a_status | ) |
Definition at line 305 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setStart | ( | ?ilDateTime | $a_start | ) |
Definition at line 121 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 235 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setTitle | ( | string | $a_title | ) |
Definition at line 136 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 330 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::update | ( | ) |
Definition at line 350 of file class.ilCalendarEntry.php.
References $query, $res, getCompletion(), getContextId(), getContextInfo(), getDescription(), getEnd(), getEntryId(), getFurtherInformations(), getLocation(), getStart(), getSubtitle(), getTitle(), getTranslationType(), IL_CAL_DATETIME, IL_CAL_UNIX, isAutoGenerated(), isFullday(), isMilestone(), isNotificationEnabled(), and ilTimeZone\UTC.
Here is the call graph for this function:| ilCalendarEntry::validate | ( | ) |
Definition at line 418 of file class.ilCalendarEntry.php.
References ilDateTime\_before(), error(), getEnd(), getStart(), getTitle(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilCalendarEntry::writeResponsibleUsers | ( | array | $a_users | ) |
Definition at line 485 of file class.ilCalendarEntry.php.
References getEntryId().
Here is the call graph for this function:
|
protected |
Definition at line 53 of file class.ilCalendarEntry.php.
Referenced by getCompletion().
|
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 52 of file class.ilCalendarEntry.php.
Referenced by isMilestone().
|
protected |
Definition at line 38 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 34 of file class.ilCalendarEntry.php.
Referenced by appointmentToMailString().
|
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 54 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 55 of file class.ilCalendarEntry.php.
|
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 getPresentationTitle(), and 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(), and ilObjSession\prepareCalendarAppointments().
| const ilCalendarEntry::TRANSLATION_SYSTEM = 1 |
Definition at line 30 of file class.ilCalendarEntry.php.
Referenced by ilConsultationHoursGUI\createAppointments(), ilObjGroup\prepareAppointments(), and ilObjCourse\prepareAppointments().