Disable a specific filter to run on this DataTable in case you have already applied this filter or if you will
handle this filter manually by using a custom filter. Be aware if you disable a given filter, that filter won't
be ever executed. Even if another filter calls this filter on the DataTable.
public disableFilter ( string $className ) | ||
$className | string | eg 'Limit' or 'Sort'. Passing a `Closure` or an `array($class, $methodName)` is not supported yet. We check for exact match. So if you disable 'Limit' and call `->filter('Limit')` this filter won't be executed. If you call `->filter('Piwik\DataTable\Filter\Limit')` that filter will be executed. See it as a feature. |