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:
authormatthieu_ <matthieu_@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2007-08-08 22:37:00 +0400
committermatthieu_ <matthieu_@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2007-08-08 22:37:00 +0400
commitb5d74b8e71976cccbafa6d5997f22c6653e3e348 (patch)
tree692de3ac7540c3062dc0f90d65f52e86d0f7ec72 /modules/LogStats
parent6358a47e97d249378c33f001b976d8efef939d44 (diff)
Implemented nice Period class + tests, Module using Zend_Date
Diffstat (limited to 'modules/LogStats')
-rw-r--r--modules/LogStats/Action.php36
1 files changed, 17 insertions, 19 deletions
diff --git a/modules/LogStats/Action.php b/modules/LogStats/Action.php
index 021ff35328..be5e356319 100644
--- a/modules/LogStats/Action.php
+++ b/modules/LogStats/Action.php
@@ -4,6 +4,23 @@ class Piwik_LogStats_Action
{
/*
+ * About the Action concept:
+ *
+ * - An action is defined by a name.
+ * - The name can be specified in the JS Code in the variable 'action_name'
+ * - Handling UTF8 in the action name
+ * PLUGIN_IDEA - An action is associated to URLs and link to the URL from the interface
+ * PLUGIN_IDEA - An action hit by a visitor is associated to the HTML title of the page that triggered the action
+ *
+ * + If the name is not specified, we use the URL(path+query) to build a default name.
+ * For example for "http://piwik.org/test/my_page/test.html"
+ * the name would be "test/my_page/test.html"
+ *
+ * We make sure it is clean and displayable.
+ * If the name is empty we set it to a default name.
+ *
+ * TODO UTF8 handling to test
+ *
* Specifications
*
* - External file tracking
@@ -64,25 +81,6 @@ class Piwik_LogStats_Action
$this->defaultActionName = Piwik_LogStats_Config::getInstance()->LogStats['default_action_name'];
}
- /**
- * About the Action concept:
- *
- * - An action is defined by a name.
- * - The name can be specified in the JS Code in the variable 'action_name'
- * - Handling UTF8 in the action name
- * PLUGIN_IDEA - An action is associated to URLs and link to the URL from the interface
- * PLUGIN_IDEA - An action hit by a visitor is associated to the HTML title of the page that triggered the action
- *
- * + If the name is not specified, we use the URL(path+query) to build a default name.
- * For example for "http://piwik.org/test/my_page/test.html"
- * the name would be "test/my_page/test.html"
- *
- * We make sure it is clean and displayable.
- * If the name is empty we set it to a default name.
- *
- * TODO UTF8 handling to test
- *
- */
private function generateInfo()
{
if(!empty($this->downloadUrl))