public function filterSubtables($className, $parameters = array())
    {
        foreach ($this->getRowsWithoutSummaryRow() as $row) {
            $subtable = $row->getSubtable();
            if ($subtable) {
                $subtable->filter($className, $parameters);
                $subtable->filterSubtables($className, $parameters);
            }
        }
    }
public function filterSubtables($className, $parameters = array())
    {
        foreach ($this->getRowsWithoutSummaryRow() as $row) {
            $subtable = $row->getSubtable();
            if ($subtable) {
                $subtable->filter($className, $parameters);
                $subtable->filterSubtables($className, $parameters);
            }
        }
    }
public function filterSubtables ( $ className , $ parameters = array ( ) ) { foreach ( $ this -> getRowsWithoutSummaryRow ( ) as $ row ) { $ subtable = $ row -> getSubtable ( ) ; if ( $ subtable ) { $ subtable -> filter ( $ className , $ parameters ) ; $ subtable -> filterSubtables ( $ className , $ parameters ) ; } } }
Applies a filter to all subtables but not to this datatable.

@param string|Closure $className 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.
@param array $parameters Array of extra parameters to pass to the filter.
Applies a filter to all subtables but not to this datatable .