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-11-19 05:19:02 +0300
committermattab <matthieu.aubry@gmail.com>2014-11-19 05:19:02 +0300
commit1d53ac38d6f1902d29b234572ab3f3cfc5ff54d3 (patch)
tree1b60a2afb17e4d2723122280e11d14479d8c4d34 /core/Tracker/Visitor.php
parent066e0b4bc79a6540b50d4645d03e0c8e60ad0eba (diff)
Fix event documentation
Diffstat (limited to 'core/Tracker/Visitor.php')
-rw-r--r--core/Tracker/Visitor.php13
1 files changed, 5 insertions, 8 deletions
diff --git a/core/Tracker/Visitor.php b/core/Tracker/Visitor.php
index afec61849e..d9aadb640e 100644
--- a/core/Tracker/Visitor.php
+++ b/core/Tracker/Visitor.php
@@ -204,20 +204,17 @@ class Visitor
$fields[] = $dimension->getColumnName();
}
- /**
- * This event collects a list of [visit entity]() properties that should be loaded when reading
- * the existing visit. Properties that appear in this list will be available in other tracking
- * events such as 'onExistingVisit'.
- *
- * Plugins can use this event to load additional visit entity properties for later use during tracking.
- */
foreach ($dimension->getRequiredVisitFields() as $field) {
$fields[] = $field;
}
}
/**
- * @ignore
+ * This event collects a list of [visit entity](/guides/persistence-and-the-mysql-backend#visits) properties that should be loaded when reading
+ * the existing visit. Properties that appear in this list will be available in other tracking
+ * events such as 'onExistingVisit'.
+ *
+ * Plugins can use this event to load additional visit entity properties for later use during tracking.
*/
Piwik::postEvent('Tracker.getVisitFieldsToPersist', array(&$fields));