* @return $filters The filters array holding all filter instances
*/
protected function getFilters () {
- return $this->getGenericArray('filters');
+ return $this->getGenericArrayKey('filters', 'generic', 'dummy');
}
/**
// Run all filters
//* DEBUG */ self::createDebugInstance(__CLASS__)->debugOutput('COUNT=' . $this->countGenericArray('filters'));
foreach ($this->getFilters() as $filterInstance) {
+ // Must be an instance of Filterable
+ assert($filterInstance instanceof Filterable);
+
// Try to execute this filter
try {
//* DEBUG */ self::createDebugInstance(__CLASS__)->debugOutput('FILTER: ' . $filterInstance->__toString() . ': Processing started.');