iCalendarA Class for handling Events on a calendar
Located in /iCalendar.php (line 893)
void
Render
([boolean $as_calendar = true], [string $type = null], [array $restrict_properties = null])
Constructor iCalendar (line 935)
The constructor takes an array of args. If there is an element called 'icalendar' then that will be parsed into the iCalendar object. Otherwise the array elements are converted into properties of the iCalendar object directly.
Add (line 1341)
Add a new property/value, regardless of whether it exists already
AddComponent (line 1394)
Adds a new subcomponent
ApplyFilter (line 1549)
Applies the filter conditions, possibly recursively, to the value which will be either a single property, or an array of lines of the component under test.
BuildFromText (line 1195)
Build the iCalendar object from a text string which is a single iCalendar resource
ClearComponents (line 1373)
Clear all components, or the components matching a particular type
DealWithTimeZones (line 1249)
Do what must be done with time zones from on file. Attempt to turn them into something that PostgreSQL can understand...
DefaultPropertyList (line 1071)
An array of property names that we should always want when rendering an iCalendar
ExtractProperty (line 1519)
Extract a particular property from the provided component. In doing so we assume that the content was unescaped when iCalComponent::ParseFrom() called iCalComponent::UnwrapComponent().
ExtractSubComponent (line 1485)
Return all sub-components of the given type, which are part of the component we pass in as an array of lines.
Get (line 1302)
Get the value of a property in the first non-VTIMEZONE
GetComponents (line 1364)
Get all sub-components, or at least get those matching a type, or failling to match, should the second parameter be set to false.
HttpDateFormat (line 1412)
Returns a PostgreSQL Date Format string suitable for returning HTTP (RFC2068) dates Preferred is "Sun, 06 Nov 1994 08:49:37 GMT" so we do that.
iCalFooter (line 1664)
Returns the footer we always use at the finish of our iCalendar resources
iCalHeader (line 1647)
Returns the header we always use at the start of our iCalendar resources
JustThisBitPlease (line 1090)
A function to extract the contents of a BEGIN:SOMETHING to END:SOMETHING (perhaps multiply) and return just that bit (or, of course, those bits :-)
MaskComponents (line 1403)
Mask components, removing any that are not of the types in the list
ParseSomeLines (line 1124)
Function to parse lines from BEGIN:SOMETHING to END:SOMETHING into a nested array structure
Render (line 1677)
Render the iCalendar object as a text string which is a single VEVENT (or other)
RFC2445ContentEscape (line 1451)
Returns a suitably escaped RFC2445 content string.
RFC2445ContentUnescape (line 1232)
Returns a content string with the RFC2445 escaping removed
SaveTimeZones (line 1007)
Save any timezones by TZID in the PostgreSQL database for future re-use.
Set (line 1321)
Set the value of a property
SetComponents (line 1384)
Sets some or all sub-components of the component to the supplied new components
SqlDateFormat (line 1420)
Returns a PostgreSQL Date Format string suitable for returning iCal dates
SqlDurationFormat (line 1438)
Returns a PostgreSQL Date Format string suitable for returning iCal durations
SqlUTCFormat (line 1429)
Returns a PostgreSQL Date Format string suitable for returning dates which
have been cast to UTC
TestFilter (line 1623)
Test a PROP-FILTER or COMP-FILTER and return a true/false COMP-FILTER (is-defined | is-not-defined | (time-range?, prop-filter*, comp-filter*)) PROP-FILTER (is-defined | is-not-defined | ((time-range | text-match)?, param-filter*))
Documentation generated on Tue, 06 Oct 2009 09:31:47 -0700 by phpDocumentor 1.3.2