Class representing iCalendar files.
$Horde: framework/iCalendar/iCalendar.php,v 1.57.4.81 2010-11-10 14:34:25 jan Exp $
Copyright 2003-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /iCalendar/iCalendar.php (line 26)
Class | Description |
---|---|
![]() |
Class representing vAlarms. |
![]() |
Class representing vCard entries. |
![]() |
Class representing vEvents. |
![]() |
Class representing vFreebusy components. |
![]() |
Class representing vJournals. |
![]() |
Class representing vNotes. |
![]() |
Class representing vTimezones. |
![]() |
|
![]() |
|
![]() |
Class representing vTodos. |
The name/value pairs of attributes for this object (UID, DTSTART, etc.). Which are present depends on the object and on what kind of component it is.
Any children (contained) iCalendar components of this object.
The parent (containing) iCalendar object.
According to RFC 2425, we should always use CRLF-terminated lines.
iCalendar format version (different behavior for 1.0 and 2.0 especially with recurring events).
Return a reference to a new component.
Parses a Date field.
Parses a Time field.
Add a vCalendar component (eg vEvent, vTimezone, etc.).
Clears the iCalendar object (resets the components and attributes arrays).
Export as vCalendar format.
Locates the first child component of the specified class, and returns a reference to it.
Locates the first matching child component of the specified class, and returns a reference to it.
Get attributes for all tags or for a given tag.
Get the value of an attribute.
Returns the value of an attribute, or a specified default value if the attribute does not exist.
Gets the values of an attribute as an array. Multiple values are possible due to:
a) multiplce occurences of 'name' b) (unsecapd) comma seperated lists.
So for a vcard like "KEY:a,b\nKEY:c" getAttributesValues('KEY') will return array('a', 'b', 'c').
Retrieve a specific component.
Return the classes (entry types) we have.
Number of components in this container.
Retrieve all the components.
Checks if entry is vcalendar 1.0, vcard 2.1 or vnote 1.1.
These 'old' formats are defined by www.imc.org. The 'new' (non-old) formats icalendar 2.0 and vcard 3.0 are defined in rfc2426 and rfc2445 respectively.
Parses a string containing vCalendar data.
Remove all occurences of an attribute.
Sets the value of an attribute.
Sets parameter(s) for an (already existing) attribute. The parameter set is merged into the existing set.
Export this entry as a hash array with tag names as keys.
Exports a date field.
Export a DateTime field.
Export a duration value.
Export a Time Period field.
Exports a Time field.
Export a UTC Offset field.
Export this component in vCal format.
Parses a DateTime field and returns a unix timestamp. If the field cannot be parsed then the original text is returned unmodified.
Parse a Duration Value field.
Parse a Time Period field.
Grok the TZID and return an offset in seconds from UTC for this date and time.
Parse a UTC Offset field.
Converts an 8bit string to a quoted-printable string according to RFC 2045, section 6.7.
imap_8bit() does not apply all necessary rules.
Documentation generated on Sun, 30 Jan 2011 05:18:18 +0000 by phpDocumentor 1.4.3