## /inc/caldav-REPORT-calquery.php

Description

Build the array of properties to include in the report output

Functions
apply_filter (line 57)

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 218)

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

SqlFilterFragment (line 72)

Process a filter fragment returning an SQL fragment

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

- $filter
- $components
- $property
- $parameter

Documentation generated on Sat, 24 Oct 2009 12:40:38 +1300 by phpDocumentor 1.3.2