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:
authordiosmosis <diosmosis@users.noreply.github.com>2018-11-24 06:18:29 +0300
committerGitHub <noreply@github.com>2018-11-24 06:18:29 +0300
commitbd0de0c5979de6091d7399f6ec70de0875c45048 (patch)
treef2fbe88c63de8cd0fe46bbc989e2656dd37ad643 /core/DataTable
parentb136e24f399be080ed6ac7f7c060323fccba5081 (diff)
In LogAggregator, allow the use of a complex dimension w/ an already defined select as. (#13729)
* In LogAggregator, allow the use of a complex dimension w/ an already defined select as. * Add integration test for change.
Diffstat (limited to 'core/DataTable')
-rw-r--r--core/DataTable/Map.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/DataTable/Map.php b/core/DataTable/Map.php
index e767d2f49a..7d91cf57ef 100644
--- a/core/DataTable/Map.php
+++ b/core/DataTable/Map.php
@@ -158,6 +158,15 @@ class Map implements DataTableInterface
}
/**
+ * @param string $label
+ * @return bool
+ */
+ public function hasTable($label)
+ {
+ return isset($this->array[$label]);
+ }
+
+ /**
* Returns the first element in the Map's array.
*
* @return DataTable|Map|false