Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/DataTable/Map.php')
-rw-r--r--core/DataTable/Map.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/core/DataTable/Map.php b/core/DataTable/Map.php
index 8f9d259f10..e767d2f49a 100644
--- a/core/DataTable/Map.php
+++ b/core/DataTable/Map.php
@@ -28,7 +28,7 @@ use Piwik\DataTable\Renderer\Console;
class Map implements DataTableInterface
{
/**
- * Array containing the DataTable withing this Set
+ * Array containing the DataTable within this Set
*
* @var DataTable[]
*/
@@ -228,6 +228,16 @@ class Map implements DataTableInterface
}
/**
+ * See {@link DataTable::disableFilter()}.
+ */
+ public function disableFilter($className)
+ {
+ foreach ($this->getDataTables() as $table) {
+ $table->disableFilter($className);
+ }
+ }
+
+ /**
* @ignore
*/
public function disableRecursiveFilters()