◆ __construct()
◆ _exportDate()
◆ _exportDateTime()
| _exportDateTime |
( |
|
$value, |
|
|
|
$utc = false |
|
) |
| |
Export a DateTime field
- Parameters
-
- Returns
- String Date and time (UTC) iCalendar formatted
◆ _exportRecurrence()
| _exportRecurrence |
( |
|
$value | ) |
|
◆ _exportTime()
| _exportTime |
( |
|
$value, |
|
|
|
$utc = false |
|
) |
| |
Export a Time field
- Parameters
-
- Returns
- String Time (UTC) iCalendar formatted
◆ _exportWdays()
| _exportWdays |
( |
string |
$value | ) |
|
Return the days from CalendarDate::days as attribute of a event recurrence.
- Parameters
-
- Returns
- string
◆ exportCalendarDates()
| exportCalendarDates |
( |
string |
$range_id, |
|
|
DateTimeInterface |
$start, |
|
|
DateTimeInterface |
$end |
|
) |
| |
◆ exportCourseDates()
| exportCourseDates |
( |
string |
$user_id, |
|
|
DateTimeInterface |
$start, |
|
|
DateTimeInterface |
$end |
|
) |
| |
◆ exportCourseExDates()
| exportCourseExDates |
( |
string |
$user_id, |
|
|
DateTimeInterface |
$start, |
|
|
DateTimeInterface |
$end |
|
) |
| |
◆ exportExDate()
| exportExDate |
( |
string |
$value | ) |
|
Formats dates of exception.
- Parameters
-
| string | $value | Date values (Y-m-d) as csv list. |
- Returns
- string The formatted Exceptions.
◆ exportExDateTime()
| exportExDateTime |
( |
string |
$value, |
|
|
int |
$begin |
|
) |
| |
Formats date times of exception.
- Parameters
-
| string | $value | Date values (Y-m-d) as csv list. |
| int | $begin | Start date of event as unix timestamp. |
- Returns
- string The formatted Exceptions.
◆ prepareCalendarDate()
- Parameters
-
- Returns
- array Calendar date data prepared for export.
◆ prepareCourseDate()
| prepareCourseDate |
( |
|
$date | ) |
|
- Parameters
-
- Returns
- array Course date data prepared for export.
◆ quoteText()
| quoteText |
( |
string |
$text | ) |
|
Quotes some characters accordingly to iCalendar format.
- Parameters
-
| string | $text | The text to quote. |
- Returns
- string The quoted text.
◆ writeFooter()
Returns the footer.
- Returns
- string
◆ writeHeader()
Returns an iCalendar header with a rudimentary time zone definition.
- Returns
- string The iCalendar header.
◆ writeICalEvent()
| writeICalEvent |
( |
array |
$properties | ) |
|
Export prepared calendar data as iCalendar.
- Parameters
-
| array | $properties | The event to export. |
- Returns
- string iCalendar formatted data
◆ $format
◆ NEWLINE
Line break used in iCalendar
◆ WEEKSTART
Default start of the week
The documentation for this class was generated from the following file: