|
ILIAS
Release_3_10_x_branch Revision 61812
|
Model for a calendar entry. More...
Inheritance diagram for ilCalendarEntry:
Collaboration diagram for ilCalendarEntry:Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor. | |
| 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 () | |
| get title for presentation. | |
| 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 | |
| setContextId ($a_context_id) | |
| set context id | |
| getContextId () | |
| get context id | |
| setTranslationType ($a_type) | |
| public | |
| getTranslationType () | |
| get translation type | |
| update () | |
| update | |
| save () | |
| save one entry | |
| delete () | |
| delete | |
| validate () | |
| validate | |
Static Public Member Functions | |
| static | _delete ($a_entry_id) |
| delete entry | |
Protected Member Functions | |
| 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 | |
| ilCalendarEntry::__construct | ( | $a_id = 0 | ) |
|
static |
delete entry
public
Definition at line 88 of file class.ilCalendarEntry.php.
Referenced by ilCalendarCategory\delete(), delete(), and ilCalendarAppEventListener\deleteAppointments().
Here is the caller graph for this function:| ilCalendarEntry::delete | ( | ) |
delete
public
Definition at line 472 of file class.ilCalendarEntry.php.
References _delete(), and getEntryId().
Here is the call graph for this function:| ilCalendarEntry::getContextId | ( | ) |
get context id
public
Definition at line 383 of file class.ilCalendarEntry.php.
References $context_id.
| ilCalendarEntry::getDescription | ( | ) |
get description
public
Definition at line 268 of file class.ilCalendarEntry.php.
References $description.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getEnd | ( | ) |
get end public
Implements ilDatePeriod.
Definition at line 165 of file class.ilCalendarEntry.php.
Referenced by validate().
Here is the caller graph for this function:| ilCalendarEntry::getEntryId | ( | ) |
get entry id
public
Definition at line 107 of file class.ilCalendarEntry.php.
References $entry_id.
Referenced by delete(), and read().
Here is the caller graph for this function:| ilCalendarEntry::getFurtherInformations | ( | ) |
get further informations
public
Definition at line 312 of file class.ilCalendarEntry.php.
References $further_informations.
| ilCalendarEntry::getLastUpdate | ( | ) |
get last update
public
| @return |
Definition at line 119 of file class.ilCalendarEntry.php.
References IL_CAL_UNIX.
| ilCalendarEntry::getLocation | ( | ) |
get location
public
Definition at line 290 of file class.ilCalendarEntry.php.
References $location.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCalendarEntry::getPresentationTitle | ( | ) |
get title for presentation.
Special handling for auto generated appointments
public
Definition at line 210 of file class.ilCalendarEntry.php.
References $lng, $title, getSubtitle(), getTitle(), getTranslationType(), IL_CAL_TRANSLATION_NONE, ilUtil\shortenText(), and ilUtil\shortenWords().
Here is the call graph for this function:| ilCalendarEntry::getStart | ( | ) |
get start
public
Implements ilDatePeriod.
Definition at line 143 of file class.ilCalendarEntry.php.
Referenced by validate().
Here is the caller graph for this function:| ilCalendarEntry::getSubtitle | ( | ) |
get subtitle
public
Definition at line 246 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 198 of file class.ilCalendarEntry.php.
References $title.
Referenced by getPresentationTitle(), save(), update(), and validate().
Here is the caller graph for this function:| ilCalendarEntry::getTranslationType | ( | ) |
get translation type
public
Definition at line 406 of file class.ilCalendarEntry.php.
References $translation_type.
Referenced by getPresentationTitle().
Here is the caller graph for this function:| ilCalendarEntry::isAutoGenerated | ( | ) |
is auto generated
public
| @return |
Definition at line 348 of file class.ilCalendarEntry.php.
References $is_auto_generated.
| ilCalendarEntry::isFullday | ( | ) |
is fullday
public
Implements ilDatePeriod.
Definition at line 336 of file class.ilCalendarEntry.php.
References $fullday.
Referenced by read().
Here is the caller graph for this function:
|
protected |
protected
Definition at line 515 of file class.ilCalendarEntry.php.
References $res, DB_FETCHMODE_OBJECT, getEntryId(), IL_CAL_DATETIME, isFullday(), setAutoGenerated(), setContextId(), 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 | ( | ) |
save one entry
public
Definition at line 445 of file class.ilCalendarEntry.php.
References $res, getDescription(), getLocation(), getSubtitle(), getTitle(), and IL_CAL_DATETIME.
Here is the call graph for this function:| ilCalendarEntry::setAutoGenerated | ( | $a_status | ) |
set auto generated
public
| @return |
Definition at line 360 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 372 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 258 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 175 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 326 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 302 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 131 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 280 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 155 of file class.ilCalendarEntry.php.
| ilCalendarEntry::setSubtitle | ( | $a_subtitle | ) |
set subtitle Used for automatic generated appointments.
Will be appended to the title.
public
| string | subtitle |
Definition at line 235 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 187 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 395 of file class.ilCalendarEntry.php.
Referenced by read().
Here is the caller graph for this function:| ilCalendarEntry::update | ( | ) |
update
public
Definition at line 417 of file class.ilCalendarEntry.php.
References $res, getDescription(), getLocation(), getSubtitle(), getTitle(), and IL_CAL_DATETIME.
Here is the call graph for this function:| ilCalendarEntry::validate | ( | ) |
validate
public
Definition at line 489 of file class.ilCalendarEntry.php.
References $ilErr, $lng, $success, ilDateTime\_before(), getEnd(), getStart(), and getTitle().
Here is the call graph for this function:
|
protected |
Definition at line 57 of file class.ilCalendarEntry.php.
Referenced by getContextId().
|
protected |
Definition at line 43 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 50 of file class.ilCalendarEntry.php.
Referenced by getDescription().
|
protected |
Definition at line 55 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 46 of file class.ilCalendarEntry.php.
Referenced by getEntryId().
|
protected |
Definition at line 54 of file class.ilCalendarEntry.php.
Referenced by isFullday().
|
protected |
Definition at line 52 of file class.ilCalendarEntry.php.
Referenced by getFurtherInformations().
|
protected |
Definition at line 56 of file class.ilCalendarEntry.php.
Referenced by isAutoGenerated().
|
protected |
Definition at line 47 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 51 of file class.ilCalendarEntry.php.
Referenced by getLocation().
|
protected |
Definition at line 42 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 53 of file class.ilCalendarEntry.php.
|
protected |
Definition at line 49 of file class.ilCalendarEntry.php.
Referenced by getSubtitle().
|
protected |
Definition at line 48 of file class.ilCalendarEntry.php.
Referenced by getPresentationTitle(), and getTitle().
|
protected |
Definition at line 58 of file class.ilCalendarEntry.php.
Referenced by getTranslationType().