ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($calendarName="") | |
Constructor. More... | |
addEvent ($start, $end, $summary='', $description='', $url='', $uid='') | |
Add an event to this calendar. More... | |
getEvents () | |
clearEvents () | |
Clear all events. More... | |
getName () | |
Get the name of the calendar. More... | |
setName ($name) | |
Set the name of the calendar. More... | |
render ($output=true) | |
Render and optionally output a vcal string. More... | |
Protected Attributes | |
$calendarName | |
$events = array() | |
Definition at line 20 of file EasyPeasyICS.php.
EasyPeasyICS::__construct | ( | $calendarName = "" | ) |
Constructor.
string | $calendarName |
Definition at line 37 of file EasyPeasyICS.php.
References $calendarName.
EasyPeasyICS::addEvent | ( | $start, | |
$end, | |||
$summary = '' , |
|||
$description = '' , |
|||
$url = '' , |
|||
$uid = '' |
|||
) |
Add an event to this calendar.
string | $start | The start date and time as a unix timestamp |
string | $end | The end date and time as a unix timestamp |
string | $summary | A summary or title for the event |
string | $description | A description of the event |
string | $url | A URL for the event |
string | $uid | A unique identifier for the event - generated automatically if not provided |
Definition at line 52 of file EasyPeasyICS.php.
References $description, $end, $summary, $url, and array.
EasyPeasyICS::clearEvents | ( | ) |
EasyPeasyICS::getEvents | ( | ) |
Definition at line 72 of file EasyPeasyICS.php.
References $events.
EasyPeasyICS::getName | ( | ) |
Get the name of the calendar.
Definition at line 89 of file EasyPeasyICS.php.
References $calendarName.
EasyPeasyICS::render | ( | $output = true | ) |
Render and optionally output a vcal string.
bool | $output | Whether to output the calendar data directly (the default). |
Definition at line 108 of file EasyPeasyICS.php.
References $calendarName, $filename, $output, and header.
EasyPeasyICS::setName | ( | $name | ) |
Set the name of the calendar.
$name |
Definition at line 98 of file EasyPeasyICS.php.
References $name.
|
protected |
Definition at line 26 of file EasyPeasyICS.php.
Referenced by __construct(), getName(), and render().
|
protected |
Definition at line 31 of file EasyPeasyICS.php.
Referenced by getEvents().