|
Country |
Employee |
Gender |
Hours |
HoursCategory |
IndexPage |
MenuPart |
|
__construct |
getClassDir |
getDay |
getEditInfo |
getFilters |
getLabel |
getLabelSort |
getReportColumnPaths |
getTableName |
getUiColumnPaths |
initPropertyDescriptors |
|
/** @static - override for special filters
* @return Array of PntSqlFilter the filters by which instances can be searched for
* @param $className name of the subclass - static will be inherited and will not know the name of the class it is called on :-(
*/
static function ($className, $depth) {
$filters = parent::getFilters($className, $depth);
Gen::includeClass('PntSqlJoinFilter', 'pnt/db/query'); //normally included by classDescriptor, but in case depth = 1, it isn't so we need to do it here
$filters['employee.country.name'] = PntSqlFilter::getInstance($className, 'employee.country.name');
return $filters;
}
}
?>
|
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/ .
|
|