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/Plugin/Segment.php')
-rw-r--r--core/Plugin/Segment.php45
1 files changed, 45 insertions, 0 deletions
diff --git a/core/Plugin/Segment.php b/core/Plugin/Segment.php
index 2a20208ea2..494e562d86 100644
--- a/core/Plugin/Segment.php
+++ b/core/Plugin/Segment.php
@@ -203,6 +203,33 @@ class Segment
}
/**
+ * @return string
+ * @ignore
+ */
+ public function getSqlFilterValue()
+ {
+ return $this->sqlFilterValue;
+ }
+
+ /**
+ * @return string
+ * @ignore
+ */
+ public function getAcceptValues()
+ {
+ return $this->acceptValues;
+ }
+
+ /**
+ * @return string
+ * @ignore
+ */
+ public function getSqlFilter()
+ {
+ return $this->sqlFilter;
+ }
+
+ /**
* Set (overwrite) the type of this segment which is usually either a 'dimension' or a 'metric'.
* @param string $type See constansts TYPE_*
* @api
@@ -231,6 +258,15 @@ class Segment
}
/**
+ * @return string
+ * @ignore
+ */
+ public function getCategoryId()
+ {
+ return $this->category;
+ }
+
+ /**
* Returns the name of this segment as it should appear in segment expressions.
*
* @return string
@@ -241,6 +277,15 @@ class Segment
}
/**
+ * @return string
+ * @ignore
+ */
+ public function getSuggestedValuesCallback()
+ {
+ return $this->suggestedValuesCallback;
+ }
+
+ /**
* Set callback which will be executed when user will call for suggested values for segment.
*
* @param callable $suggestedValuesCallback