◆ __construct()
__construct |
( |
|
$calendarName = "" | ) |
|
◆ addEvent()
addEvent |
( |
|
$start, |
|
|
|
$end, |
|
|
|
$summary = '' , |
|
|
|
$description = '' , |
|
|
|
$url = '' , |
|
|
|
$uid = '' |
|
) |
| |
Add an event to this calendar.
- Paramètres
-
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 |
- Renvoie
- array An array of event details, including any generated UID
Références $description, $start, et $url.
◆ clearEvents()
◆ getEvents()
- Renvoie
- array Get the array of events.
Références $events.
◆ getName()
Get the name of the calendar.
- Renvoie
- string
Références $calendarName.
◆ render()
Render and optionally output a vcal string.
- Paramètres
-
bool | $output | Whether to output the calendar data directly (the default). |
- Renvoie
- string The complete rendered vlal
Références $calendarName, et $output.
◆ setName()
Set the name of the calendar.
- Paramètres
-
Références $name.
◆ $calendarName
◆ $events
La documentation de cette classe a été générée à partir du fichier suivant :