Function cardquery_apply_filter
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.
Located at
caldav-REPORT-cardquery.php
array |
$filters |
$filter An array of XMLElement which is the filter definition |
string |
$item |
The database row retrieved for this calendar item |
string |
$filter_type |
possible values AND or OR (for OR only one filter fragment must match) |
boolean
|
True if the check succeeded, false otherwise. |