|
ILIAS
Release_5_0_x_branch Revision 61816
|
Model for a calendar entry. More...
Inheritance diagram for ilCalendarEntry:
Collaboration diagram for ilCalendarEntry:Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor. | |
| __clone () | |
| clone instance | |
| getEntryId () | |
| get entry id | |
| getLastUpdate () | |
| get last update | |
| setLastUpdate ($a_date) | |
| set last update | |
| getStart () | |
| get start | |
| setStart (ilDateTime $a_start) | |
| public | |
| getEnd () | |
| get end public | |
| setEnd ($a_end) | |
| set end public | |
| setTitle ($a_title) | |
| set title | |
| getTitle () | |
| get title | |
| getPresentationTitle ($a_shorten=true) | |
| get title for presentation. | |
| getPresentationStyle () | |
| setSubtitle ($a_subtitle) | |
| set subtitle Used for automatic generated appointments. | |
| getSubtitle () | |
| get subtitle | |
| setDescription ($a_description) | |
| set description | |
| getDescription () | |
| get description | |
| setLocation ($a_location) | |
| set location | |
| getLocation () | |
| get location | |
| setFurtherInformations ($a_informations) | |
| set further informations | |
| getFurtherInformations () | |
| get further informations | |
| setFullday ($a_fullday) | |
| set fullday event Fullday events do not change their time in different timezones. | |
| isFullday () | |
| is fullday | |
| isAutoGenerated () | |
| is auto generated | |
| setAutoGenerated ($a_status) | |
| set auto generated | |
| isMilestone () | |
| is milestone | |
| setMilestone ($a_status) | |
| set milestone | |
| setCompletion ($a_completion) | |
| Set Completion. | |
| getCompletion () | |
| Get Completion. | |
| setContextId ($a_context_id) | |
| set context id | |
| getContextId () | |
| get context id | |
| setTranslationType ($a_type) | |
| public | |
| getTranslationType () | |
| get translation type | |
| enableNotification ($a_status) | |
| Enable course group notification. | |
| isNotificationEnabled () | |
| Check if course group notification is enabled. | |
| update () | |
| update | |
| save () | |
| save one entry | |
| delete () | |
| delete | |
| validate () | |
| validate | |
| appointmentToMailString ($lng) | |
| writeResponsibleUsers ($a_users) | |
| Write users responsible for a milestone. | |
| readResponsibleUsers () | |
| Read responsible users. | |
Static Public Member Functions | |
| static | _delete ($a_entry_id) |
| delete entry | |
Protected Member Functions | |
| parseDynamicTitle ($a_type) | |
| read () | |
| protected | |
Protected Attributes | |
| $log | |
| $db | |
| $entry_id | |
| $last_update | |
| $title | |
| $subtitle | |
| $description | |
| $location | |
| $further_informations | |
| $start = null | |
| $fullday | |
| $end = null | |
| $is_auto_generated = false | |
| $context_id = 0 | |
| $translation_type = IL_CAL_TRANSLATION_NONE | |
| $is_milestone = false | |
| $completion = 0 | |
| $notification = false | |
| ilCalendarEntry::__construct | ( | $a_id = 0 | ) |
| ilCalendarEntry::__clone | ( | ) |
|
static |
delete entry
public
Definition at line 79 of file class.ilCalendarEntry.php.
References $ilDB, $query, and $res.
Referenced by ilCalendarCategory\delete(), delete(), ilCalendarAppEventListener\deleteAppointments(), and ilCalendarRemoteReader\importIcal().
Here is the caller graph for this function:| ilCalendarEntry::appointmentToMailString | ( | $lng | ) |
| ilLanguage | $lng |
Definition at line 720 of file class.ilCalendarEntry.php.
References $lng, ilDatePresentation\formatPeriod(), getDescription(), getEnd(), getLocation(), getStart(), getTitle(), and ilDatePresentation\setUseRelativeDates().
Here is the call graph for this function:| ilCalendarEntry::delete | ( | ) |
delete
public
Definition at line 630 of file class.ilCalendarEntry.php.
References $ilDB, $query, $res, _delete(), ilCalendarCategoryAssignments\_deleteByAppointmentId(), and getEntryId().
Here is the call graph for this function:| ilCalendarEntry::enableNotification | ( | $a_status | ) |
Enable course group notification.
| bool | $a_status |
Definition at line 534 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::getCompletion | ( | ) |
Get Completion.
Definition at line 479 of file class.ilCalendarEntry.php.
References $completion.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getContextId | ( | ) |
get context id
public
Definition at line 502 of file class.ilCalendarEntry.php.
References $context_id.
Referenced by ilCalendarScheduleFilterBookings\isValidEvent(), parseDynamicTitle(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getDescription | ( | ) |
get description
public
Definition at line 343 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 public
Implements ilDatePeriod.
Definition at line 157 of file class.ilCalendarEntry.php.
Referenced by appointmentToMailString(), save(), update(), and validate().
Here is the caller graph for this function:| ilCalendarEntry::getEntryId | ( | ) |
get entry id
public
Definition at line 99 of file class.ilCalendarEntry.php.
References $entry_id.
Referenced by ilCalendarExport\buildAppointmentUrl(), ilCalendarAppointmentGUI\calendarEntryToCategory(), delete(), ilCalendarScheduleFilterHidden\isValidEvent(), ilCalendarScheduleFilterBookings\isValidEvent(), read(), readResponsibleUsers(), update(), and writeResponsibleUsers().
Here is the caller graph for this function:| ilCalendarEntry::getFurtherInformations | ( | ) |
get further informations
public
Definition at line 387 of file class.ilCalendarEntry.php.
References $further_informations.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getLastUpdate | ( | ) |
get last update
public
| @return |
Definition at line 111 of file class.ilCalendarEntry.php.
References IL_CAL_UNIX.
| ilCalendarEntry::getLocation | ( | ) |
get location
public
Definition at line 365 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 238 of file class.ilCalendarEntry.php.
| ilCalendarEntry::getPresentationTitle | ( | $a_shorten = true | ) |
get title for presentation.
Special handling for auto generated appointments
public
Definition at line 202 of file class.ilCalendarEntry.php.
References $lng, $subtitle, $title, getSubtitle(), getTitle(), getTranslationType(), IL_CAL_TRANSLATION_NONE, parseDynamicTitle(), ilUtil\shortenText(), and ilUtil\shortenWords().
Here is the call graph for this function:| ilCalendarEntry::getStart | ( | ) |
get start
public
Implements ilDatePeriod.
Definition at line 135 of file class.ilCalendarEntry.php.
Referenced by appointmentToMailString(), parseDynamicTitle(), save(), update(), and validate().
Here is the caller graph for this function:| ilCalendarEntry::getSubtitle | ( | ) |
get subtitle
public
Definition at line 321 of file class.ilCalendarEntry.php.
References $subtitle.
Referenced by getPresentationTitle(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getTitle | ( | ) |
get title
public
Definition at line 190 of file class.ilCalendarEntry.php.
References $title.
Referenced by appointmentToMailString(), getPresentationTitle(), save(), update(), and validate().
Here is the caller graph for this function:| ilCalendarEntry::getTranslationType | ( | ) |
get translation type
public
Definition at line 525 of file class.ilCalendarEntry.php.
References $translation_type.
Referenced by getPresentationTitle(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::isAutoGenerated | ( | ) |
is auto generated
public
| @return |
Definition at line 423 of file class.ilCalendarEntry.php.
References $is_auto_generated.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::isFullday | ( | ) |
is fullday
public
Implements ilDatePeriod.
Definition at line 411 of file class.ilCalendarEntry.php.
References $fullday.
Referenced by read(), save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::isMilestone | ( | ) |
is milestone
public
| @return |
Definition at line 447 of file class.ilCalendarEntry.php.
References $is_milestone.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::isNotificationEnabled | ( | ) |
Check if course group notification is enabled.
Definition at line 543 of file class.ilCalendarEntry.php.
References $notification.
Referenced by save(), and update().
Here is the caller graph for this function:
|
protected |
Definition at line 244 of file class.ilCalendarEntry.php.
References $lng, $title, ilConsultationHourAppointments\getAppointmentIds(), getContextId(), and getStart().
Referenced by getPresentationTitle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
protected
Definition at line 679 of file class.ilCalendarEntry.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, enableNotification(), getEntryId(), IL_CAL_DATETIME, isFullday(), setAutoGenerated(), setCompletion(), setContextId(), 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 | ( | ) |
Read responsible users.
Definition at line 769 of file class.ilCalendarEntry.php.
References $ilDB, $n, ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), and getEntryId().
Here is the call graph for this function:| ilCalendarEntry::save | ( | ) |
save one entry
public
Definition at line 590 of file class.ilCalendarEntry.php.
References $ilDB, $query, $res, getCompletion(), getContextId(), 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 | ( | $a_status | ) |
set auto generated
public
| @return |
Definition at line 435 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setCompletion | ( | $a_completion | ) |
Set Completion.
| int | $a_completion | Completion |
Definition at line 469 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setContextId | ( | $a_context_id | ) |
set context id
public
| int | context id |
Definition at line 491 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setDescription | ( | $a_description | ) |
set description
public
| string | description |
Definition at line 333 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setEnd | ( | $a_end | ) |
set end public
Definition at line 167 of file class.ilCalendarEntry.php.
| ilCalendarEntry::setFullday | ( | $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.
public
| bool | fullday |
Definition at line 401 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setFurtherInformations | ( | $a_informations | ) |
set further informations
public
| string | further informations |
Definition at line 377 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setLastUpdate | ( | $a_date | ) |
set last update
public
| @return |
Definition at line 123 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setLocation | ( | $a_location | ) |
set location
public
| string | location |
Definition at line 355 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setMilestone | ( | $a_status | ) |
set milestone
public
| @return |
Definition at line 459 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setStart | ( | ilDateTime | $a_start | ) |
public
| @return |
Definition at line 147 of file class.ilCalendarEntry.php.
Referenced by ilObjBookingPoolGUI\processBooking().
Here is the caller graph for this function:| ilCalendarEntry::setSubtitle | ( | $a_subtitle | ) |
set subtitle Used for automatic generated appointments.
Will be appended to the title.
public
| string | subtitle |
Definition at line 310 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setTitle | ( | $a_title | ) |
set title
public
| string | title |
Definition at line 179 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::setTranslationType | ( | $a_type | ) |
public
| @return |
Definition at line 514 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::update | ( | ) |
update
public
Definition at line 554 of file class.ilCalendarEntry.php.
References $ilDB, $query, $res, getCompletion(), getContextId(), 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 | ( | ) |
validate
public
Definition at line 653 of file class.ilCalendarEntry.php.
References $ilErr, $lng, $success, ilDateTime\_before(), getEnd(), getStart(), and getTitle().
Here is the call graph for this function:| ilCalendarEntry::writeResponsibleUsers | ( | $a_users | ) |
Write users responsible for a milestone.
Definition at line 746 of file class.ilCalendarEntry.php.
References $ilDB, and getEntryId().
Here is the call graph for this function:
|
protected |
Definition at line 40 of file class.ilCalendarEntry.php.
Referenced by getCompletion().
|
protected |
Definition at line 37 of file class.ilCalendarEntry.php.
Referenced by getContextId().
|
protected |
Definition at line 23 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 30 of file class.ilCalendarEntry.php.
Referenced by getDescription().
|
protected |
Definition at line 35 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 26 of file class.ilCalendarEntry.php.
Referenced by getEntryId().
|
protected |
Definition at line 34 of file class.ilCalendarEntry.php.
Referenced by isFullday().
|
protected |
Definition at line 32 of file class.ilCalendarEntry.php.
Referenced by getFurtherInformations().
|
protected |
Definition at line 36 of file class.ilCalendarEntry.php.
Referenced by isAutoGenerated().
|
protected |
Definition at line 39 of file class.ilCalendarEntry.php.
Referenced by isMilestone().
|
protected |
Definition at line 27 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 31 of file class.ilCalendarEntry.php.
Referenced by getLocation().
|
protected |
Definition at line 22 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 42 of file class.ilCalendarEntry.php.
Referenced by isNotificationEnabled().
|
protected |
Definition at line 33 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 29 of file class.ilCalendarEntry.php.
Referenced by getPresentationTitle(), and getSubtitle().
|
protected |
Definition at line 28 of file class.ilCalendarEntry.php.
Referenced by getPresentationTitle(), getTitle(), and parseDynamicTitle().
|
protected |
Definition at line 38 of file class.ilCalendarEntry.php.
Referenced by getTranslationType().