If {@link enableRecursiveFilters()} was called, the filter will be applied
to all subtables as well.
public filter ( string | Closur\Closure $className, array $parameters = [] ) | ||
$className | string | Closur\Closure | Class name, eg. `"Sort"` or "Piwik\DataTable\Filters\Sort"`. If no namespace is supplied, `Piwik\DataTable\BaseFilter` is assumed. This parameter can also be a closure that takes a DataTable as its first parameter. |
$parameters | array | Array of extra parameters to pass to the filter. |