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.
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.
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)
SqlFilterFragment (line
91)
Process a filter fragment returning an SQL fragment
void
SqlFilterFragment
( $filter, $components, [ $property = null], [ $parameter = null])
-
$filter
-
$components
-
$property
-
$parameter