File/inc/caldav-REPORT-calquery.php

Description
Includes
 include_once ('vCalendar.php') (line 3)
Functions
apply_filter (line 75)

While we can construct our SQL to apply some filters in the query, other filters need to be checked against the retrieved record. This is for handling those ones.

  • return: True if the check succeeded, false otherwise.
boolean apply_filter ( $filters, string $item, array $filter)
  • array $filter: An array of XMLElement which is the filter definition
  • string $item: The database row retrieved for this calendar item
  • $filters
BuildSqlFilter (line 275)

Build an SQL 'WHERE' clause which implements (parts of) the filter. The elements of the filter which are implemented in the SQL will be removed.

  • return: A string suitable for use as an SQL 'WHERE' clause selecting the desired records.
string BuildSqlFilter ( $filter, arrayref &$filter)
  • arrayref &$filter: A reference to an array of XMLElement defining the filter
  • $filter
check_for_expansion (line 6)
void check_for_expansion ( $calendar_data_node)
  • $calendar_data_node
SqlFilterFragment (line 91)

Process a filter fragment returning an SQL fragment

void SqlFilterFragment ( $filter,  $components, [ $property = null], [ $parameter = null])
  • $filter
  • $components
  • $property
  • $parameter

Documentation generated on Fri, 13 Jan 2012 23:44:53 +1300 by phpDocumentor 1.4.3