|
PntComparator |
PntSqlCombiFilter |
PntSqlFilter |
PntSqlJoinFilter |
PntSqlMultiOrFilter |
PntSqlSort |
PntSqlSpec |
|
evaluate |
__clone |
__construct |
addParamsTo |
addPart |
andWhere |
appliesTo |
canBeSortSpec |
combi |
combine |
copy |
generateSql |
generateSqlForJoins |
getDescription |
getItemType |
getParts |
getSql |
initPropertyDescriptors |
orWhere |
setComparatorId |
setItemType |
setTableAlias |
setValue1 |
setValue2 |
|
/* Return the result of evaluating the supplied object against this.
*/
function ($item) {
$nParts = count($this->parts);
if ($nParts == 0)
return null;
$keys = array_keys($this->parts);
$result = $this->parts[$keys[0] ]->($item);
for ($i=1; $i<$nParts; $i++)
$result = $this->( $result, $this->parts[$keys[$i] ]->($item) );
return $result;
}
|
Copyright (c) MetaClass, 2003-
This code is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This code is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
Click here for a copy of the license or see http://www.gnu.org/licenses/ .
|
|