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:
authormattab <matthieu.aubry@gmail.com>2014-12-05 09:31:25 +0300
committermattab <matthieu.aubry@gmail.com>2014-12-05 09:31:25 +0300
commit5c14cf8e5bff649230f91ef7e90dc3d3dd89f9a9 (patch)
tree161ed72288d88441a4fbd56d694342e4e09f3009 /core/Segment
parent764a8c147f8992ae99a679573fc434d82dd7b0a6 (diff)
move logic that creates the SQL query into LogQueryBuilder class
Diffstat (limited to 'core/Segment')
-rw-r--r--core/Segment/SegmentExpression.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Segment/SegmentExpression.php b/core/Segment/SegmentExpression.php
index e32bbe8723..4078321ce0 100644
--- a/core/Segment/SegmentExpression.php
+++ b/core/Segment/SegmentExpression.php
@@ -46,6 +46,11 @@ class SegmentExpression
$this->tree = $this->parseTree();
}
+ public function isEmpty()
+ {
+ return empty($this->string);
+ }
+
protected $joins = array();
protected $valuesBind = array();
protected $parsedTree = array();