Public Member Functions | |
| __construct ($summary=null, $date_start=null) | |
| Construct a new AnewtCalendarEvent instance. | |
AnewtCalendarEvent instances can be added to an AnewtCalendar using AnewtCalendar::add_event().
The properties that can be set on AnewtCalendar instances are:
uid: A unique ID for this event (optional, defaults to an autogenerated, deterministic ID based on the summary and start date)summary: The summary line for this eventdescription: A longer (multiline) description for this event (optional)location: The location of this event (optional)url: An associated URL for this event (optional)date-start: The start date for this event (AnewtDateTimeAtom instance)date-end: The end date for this event (AnewtDateTimeAtom instance, optional)all-day: Whether this is an all-day event (boolean, defaults to false)transparent: Whether this event is transparent and hence should not conflict with other appointments (boolean, defaults to false)
Note that the summary and date-start properties are required by the iCalendar specification.
Definition at line 257 of file calendar.lib.php.
| AnewtCalendarEvent::__construct | ( | $ | summary = null, |
|
| $ | date_start = null | |||
| ) |
Construct a new AnewtCalendarEvent instance.
If you don't specify $summary or $date_start these values need to be set later.
| $summary | A summary line for this event (optional). | |
| $date_start | A AnewtDateTimeAtom instance describing the start date for this event (optional). |
Definition at line 272 of file calendar.lib.php.
1.5.9