Overview

Namespaces

  • intouch
    • ical

Classes

  • Duration
  • Factory
  • Freq
  • iCal
  • Line
  • Parser
  • Query
  • Recurrence
  • VCalendar
  • VEvent
  • VTimeZone
  • Overview
  • Namespace
  • Class
  • Tree

Class Query

A collection of functions to query the events in a calendar.

Namespace: intouch\ical
License: CC-BY-SA-DK
Author: Morten Fangel (C) 2008
Author: Michael Kahn (C) 2013
Located at ical/Query.php
Methods summary
public static intouch\ical\VEvent[]
# Between( intouch\ical\iCal $ical, integer $start, integer $end )

Returns all events from the calendar between two timestamps

Returns all events from the calendar between two timestamps

Note that the events returned needs only slightly overlap.

Parameters

$ical
intouch\ical\iCal
|array $ical The calendar to query
$start
integer
$start
$end
integer
$end

Returns

intouch\ical\VEvent[]
public static intouch\ical\VEvent[]
# After( intouch\ical\iCal|array $ical, integer $start )

Returns all events from the calendar after a given timestamp

Returns all events from the calendar after a given timestamp

Parameters

$ical
intouch\ical\iCal|array
$ical The calendar to query
$start
integer
$start

Returns

intouch\ical\VEvent[]
public static intouch\ical\VEvent[]
# Sort( intouch\ical\iCal|array $ical, string $column )

Sorts the events from the calendar after the specified column. Column can be all valid entires that getProperty can return. So stuff like uid, start, end, summary etc.

Sorts the events from the calendar after the specified column. Column can be all valid entires that getProperty can return. So stuff like uid, start, end, summary etc.

Parameters

$ical
intouch\ical\iCal|array
$ical The calendar to query
$column
string
$column

Returns

intouch\ical\VEvent[]
intouch-iCalendar API documentation generated by ApiGen 2.8.0