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:
authorThomas Steur <thomas.steur@googlemail.com>2014-08-20 20:02:08 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-08-20 20:02:08 +0400
commitb3dadf81c5d8eb397d5f2be1498ce1ae33c51319 (patch)
treece179838edbb67698438a4286cd77814c2994eb0 /plugins/Events/Actions
parent583a475ce9d8f9c9200bc3f9612d57f041be6e38 (diff)
refs #5989 #6026 let users define a goal depending on an event and fix the examples and condition was not updated when user changes the match_attribute
Diffstat (limited to 'plugins/Events/Actions')
-rw-r--r--plugins/Events/Actions/ActionEvent.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/Events/Actions/ActionEvent.php b/plugins/Events/Actions/ActionEvent.php
index 3791de794d..9921c8d39b 100644
--- a/plugins/Events/Actions/ActionEvent.php
+++ b/plugins/Events/Actions/ActionEvent.php
@@ -38,6 +38,21 @@ class ActionEvent extends Action
return (strlen($eventCategory) > 0 && strlen($eventAction) > 0);
}
+ public function getEventAction()
+ {
+ return $this->request->getParam('e_a');
+ }
+
+ public function getEventCategory()
+ {
+ return $this->request->getParam('e_c');
+ }
+
+ public function getEventName()
+ {
+ return $this->request->getParam('e_n');
+ }
+
public function getCustomFloatValue()
{
return $this->eventValue;