Piwik\DataTable\
A filter is set of logic that manipulates a DataTable.
Filters are called with a DataTable instance and extra parameters that are specified in DataTable::filter() and DataTable::queueFilter().
To see examples of Filters look at the existing ones in the Piwik\DataTable\BaseFilter namespace.
The abstract class defines the following methods:
__construct() — Constructor.filter() — Manipulates a DataTable in some way.enableRecursive() — Enables/Disables recursive filtering.filterSubTable() — Filters a row's subtable, if one exists and is loaded in memory.__construct()Constructor.
$table (DataTable) —filter()Manipulates a DataTable in some way.
It accepts the following parameter(s):
$table (DataTable) —It does not return anything or a mixed result.
enableRecursive()Enables/Disables recursive filtering. Whether this property is actually used is up to the derived BaseFilter class.
It accepts the following parameter(s):
$enable (bool) —It does not return anything or a mixed result.
filterSubTable()Filters a row's subtable, if one exists and is loaded in memory.
$row (Row) —
The row whose subtable should be filter.