}
/**
- * Getter for filters array
+ * "Getter" for filters array
*
* @return $filters The filters array holding all filter instances
*/
protected function getFilters () {
- return $this->getGenericArrayKey('filters', 'generic', 'dummy');
+ // Default is nothing found
+ $filters = array();
+
+ // Are some filters set?
+ if ($this->isValidGenericArrayKey('filters', 'generic', 'dummy')) {
+ // Then get them
+ $filters = $this->getGenericArrayKey('filters', 'generic', 'dummy');
+ } // END - if
+
+ // Return it
+ return $filters;
}
/**