[Piwik-svn] r164 - in trunk: . modules modules/ArchiveProcessing modules/DataFiles modules/DataTable modules/DataTable/Filter modules/DataTable/Renderer modules/DataTable/Row modules/Log modules/LogStats modules/SmartyPlugins modules/ViewDataTable modules/Visualization plugins plugins/API plugins/Actions plugins/ExamplePlugin plugins/Home plugins/Installation plugins/Login plugins/Logout plugins/Openads plugins/Provider plugins/Referers plugins/SitesManager plugins/UserCountry plugins/UserSettings plugins/UsersManager plugins/VisitFrequency plugins/VisitTime plugins/VisitorInterest plugins/VisitsSummary

svnmaster at piwik.org svnmaster at piwik.org
Mon Jan 14 05:47:58 CET 2008


Author: matt
Date: 2008-01-14 05:47:58 +0100 (Mon, 14 Jan 2008)
New Revision: 164

Removed:
   trunk/modules/iView.php
   trunk/plugins/Home/Controller_OldAPICalls.php
Modified:
   trunk/index.php
   trunk/modules/Access.php
   trunk/modules/Archive.php
   trunk/modules/ArchiveProcessing.php
   trunk/modules/ArchiveProcessing/Period.php
   trunk/modules/ArchiveProcessing/Record.php
   trunk/modules/Auth.php
   trunk/modules/Common.php
   trunk/modules/Config.php
   trunk/modules/Controller.php
   trunk/modules/Cookie.php
   trunk/modules/DataFiles/Browsers.php
   trunk/modules/DataFiles/Countries.php
   trunk/modules/DataFiles/OS.php
   trunk/modules/DataFiles/SearchEngines.php
   trunk/modules/DataTable.php
   trunk/modules/DataTable/Filter.php
   trunk/modules/DataTable/Filter/AddConstantDetail.php
   trunk/modules/DataTable/Filter/ColumnCallback.php
   trunk/modules/DataTable/Filter/ColumnCallbackAddDetail.php
   trunk/modules/DataTable/Filter/ColumnCallbackReplace.php
   trunk/modules/DataTable/Filter/DetailCallbackAddDetail.php
   trunk/modules/DataTable/Filter/Empty.php
   trunk/modules/DataTable/Filter/ExcludeLowPopulation.php
   trunk/modules/DataTable/Filter/Limit.php
   trunk/modules/DataTable/Filter/Pattern.php
   trunk/modules/DataTable/Filter/PatternRecursive.php
   trunk/modules/DataTable/Filter/ReplaceColumnNames.php
   trunk/modules/DataTable/Filter/Sort.php
   trunk/modules/DataTable/Manager.php
   trunk/modules/DataTable/Renderer.php
   trunk/modules/DataTable/Renderer/Console.php
   trunk/modules/DataTable/Renderer/Csv.php
   trunk/modules/DataTable/Renderer/Html.php
   trunk/modules/DataTable/Renderer/Json.php
   trunk/modules/DataTable/Renderer/Php.php
   trunk/modules/DataTable/Renderer/Xml.php
   trunk/modules/DataTable/Row.php
   trunk/modules/DataTable/Row/DataTableSummary.php
   trunk/modules/DataTable/Simple.php
   trunk/modules/Date.php
   trunk/modules/ErrorHandler.php
   trunk/modules/ExceptionHandler.php
   trunk/modules/Form.php
   trunk/modules/FrontController.php
   trunk/modules/Log.php
   trunk/modules/Log/APICall.php
   trunk/modules/Log/Error.php
   trunk/modules/Log/Exception.php
   trunk/modules/Log/Message.php
   trunk/modules/LogStats.php
   trunk/modules/LogStats/Action.php
   trunk/modules/LogStats/Config.php
   trunk/modules/LogStats/Db.php
   trunk/modules/LogStats/Generator.php
   trunk/modules/LogStats/Visit.php
   trunk/modules/Period.php
   trunk/modules/Piwik.php
   trunk/modules/Plugin.php
   trunk/modules/PluginsManager.php
   trunk/modules/Site.php
   trunk/modules/SmartyPlugins/function.url.php
   trunk/modules/SmartyPlugins/modifier.sumtime.php
   trunk/modules/TablePartitioning.php
   trunk/modules/Timer.php
   trunk/modules/Translate.php
   trunk/modules/Url.php
   trunk/modules/View.php
   trunk/modules/ViewDataTable.php
   trunk/modules/ViewDataTable/Cloud.php
   trunk/modules/ViewDataTable/GenerateGraphData.php
   trunk/modules/ViewDataTable/Graph.php
   trunk/modules/ViewDataTable/Html.php
   trunk/modules/Visualization/Chart.php
   trunk/modules/Visualization/ChartPie.php
   trunk/modules/Visualization/ChartVerticalBar.php
   trunk/modules/Visualization/Cloud.php
   trunk/modules/Visualization/OpenFlashChart.php
   trunk/piwik.php
   trunk/plugins/API/Controller.php
   trunk/plugins/Actions.php
   trunk/plugins/Actions/API.php
   trunk/plugins/ExamplePlugin.php
   trunk/plugins/ExamplePlugin/API.php
   trunk/plugins/ExamplePlugin/Controller.php
   trunk/plugins/Home/Controller.php
   trunk/plugins/Installation.php
   trunk/plugins/Installation/Controller.php
   trunk/plugins/Installation/FormDatabaseSetup.php
   trunk/plugins/Installation/FormFirstWebsiteSetup.php
   trunk/plugins/Installation/FormGeneralSetup.php
   trunk/plugins/Installation/View.php
   trunk/plugins/Login.php
   trunk/plugins/Login/Controller.php
   trunk/plugins/Login/Form.php
   trunk/plugins/Logout/Controller.php
   trunk/plugins/Openads.php
   trunk/plugins/Openads/Controller.php
   trunk/plugins/Provider.php
   trunk/plugins/Provider/API.php
   trunk/plugins/Referers.php
   trunk/plugins/Referers/API.php
   trunk/plugins/SitesManager.php
   trunk/plugins/SitesManager/API.php
   trunk/plugins/SitesManager/Controller.php
   trunk/plugins/UserCountry.php
   trunk/plugins/UserCountry/API.php
   trunk/plugins/UserSettings.php
   trunk/plugins/UserSettings/API.php
   trunk/plugins/UsersManager.php
   trunk/plugins/UsersManager/API.php
   trunk/plugins/UsersManager/Controller.php
   trunk/plugins/VisitFrequency.php
   trunk/plugins/VisitFrequency/API.php
   trunk/plugins/VisitTime.php
   trunk/plugins/VisitTime/API.php
   trunk/plugins/VisitorInterest.php
   trunk/plugins/VisitorInterest/API.php
   trunk/plugins/VisitsSummary.php
   trunk/plugins/VisitsSummary/API.php
Log:
Added headers

Modified: trunk/index.php
===================================================================
--- trunk/index.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/index.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 /**
  * PHP Configuration init
  */

Modified: trunk/modules/Access.php
===================================================================
--- trunk/modules/Access.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Access.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Class to handle User Access.
  * In Piwik there are mainly 4 access levels

Modified: trunk/modules/Archive.php
===================================================================
--- trunk/modules/Archive.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Archive.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Architecture
  * - *ArchiveProcessing* entity : handle all the computation on an archive / create & delete archive

Modified: trunk/modules/ArchiveProcessing/Period.php
===================================================================
--- trunk/modules/ArchiveProcessing/Period.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/ArchiveProcessing/Period.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * @package Piwik_ArchiveProcessing
  */

Modified: trunk/modules/ArchiveProcessing/Record.php
===================================================================
--- trunk/modules/ArchiveProcessing/Record.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/ArchiveProcessing/Record.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * A Record is a tuple (name, value) to be saved in the database.
  * At its creation, the record registers itself to the RecordManager. 

Modified: trunk/modules/ArchiveProcessing.php
===================================================================
--- trunk/modules/ArchiveProcessing.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/ArchiveProcessing.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * The ArchiveProcessing module is a module that reads the Piwik logs from the DB and
  * compute all the reports, which are then stored in the database.

Modified: trunk/modules/Auth.php
===================================================================
--- trunk/modules/Auth.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Auth.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * @package Piwik

Modified: trunk/modules/Common.php
===================================================================
--- trunk/modules/Common.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Common.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Static class providing functions used by both the CORE of Piwik and the
  * visitor logging engine. 

Modified: trunk/modules/Config.php
===================================================================
--- trunk/modules/Config.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Config.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * @package Piwik

Modified: trunk/modules/Controller.php
===================================================================
--- trunk/modules/Controller.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Controller.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 abstract class Piwik_Controller
 {
 	function getDefaultAction()

Modified: trunk/modules/Cookie.php
===================================================================
--- trunk/modules/Cookie.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Cookie.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
 /**
  * Simple class to handle the cookies.

Modified: trunk/modules/DataFiles/Browsers.php
===================================================================
--- trunk/modules/DataFiles/Browsers.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataFiles/Browsers.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Browser list
  * 

Modified: trunk/modules/DataFiles/Countries.php
===================================================================
--- trunk/modules/DataFiles/Countries.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataFiles/Countries.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Country code and continent database
  * 

Modified: trunk/modules/DataFiles/OS.php
===================================================================
--- trunk/modules/DataFiles/OS.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataFiles/OS.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Operating systems database
  * 

Modified: trunk/modules/DataFiles/SearchEngines.php
===================================================================
--- trunk/modules/DataFiles/SearchEngines.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataFiles/SearchEngines.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Search Engine database
  * 

Modified: trunk/modules/DataTable/Filter/AddConstantDetail.php
===================================================================
--- trunk/modules/DataTable/Filter/AddConstantDetail.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Filter/AddConstantDetail.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Add a new detail to the table based on the value resulting 
  * from a callback function with the parameter being another detail's value

Modified: trunk/modules/DataTable/Filter/ColumnCallback.php
===================================================================
--- trunk/modules/DataTable/Filter/ColumnCallback.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Filter/ColumnCallback.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Delete all rows of when a given function returns false for a given column.
  * 

Modified: trunk/modules/DataTable/Filter/ColumnCallbackAddDetail.php
===================================================================
--- trunk/modules/DataTable/Filter/ColumnCallbackAddDetail.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Filter/ColumnCallbackAddDetail.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
 /**
  * Add a new column to the table based on the value resulting 

Modified: trunk/modules/DataTable/Filter/ColumnCallbackReplace.php
===================================================================
--- trunk/modules/DataTable/Filter/ColumnCallbackReplace.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Filter/ColumnCallbackReplace.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Replace a column value with a new value resulting 
  * from the function called with the column's value

Modified: trunk/modules/DataTable/Filter/DetailCallbackAddDetail.php
===================================================================
--- trunk/modules/DataTable/Filter/DetailCallbackAddDetail.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Filter/DetailCallbackAddDetail.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Add a new detail to the table based on the value resulting 
  * from a callback function with the parameter being another detail's value

Modified: trunk/modules/DataTable/Filter/Empty.php
===================================================================
--- trunk/modules/DataTable/Filter/Empty.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Filter/Empty.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Empty filter template.
  * 

Modified: trunk/modules/DataTable/Filter/ExcludeLowPopulation.php
===================================================================
--- trunk/modules/DataTable/Filter/ExcludeLowPopulation.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Filter/ExcludeLowPopulation.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Delete all rows that have a $columnToFilter value less than the $minimumValue 
  * For example we delete from the countries report table all countries that have less than 3 visits.

Modified: trunk/modules/DataTable/Filter/Limit.php
===================================================================
--- trunk/modules/DataTable/Filter/Limit.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Filter/Limit.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Delete all rows from the table that are not in the offset,offset+limit range
  * 

Modified: trunk/modules/DataTable/Filter/Pattern.php
===================================================================
--- trunk/modules/DataTable/Filter/Pattern.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Filter/Pattern.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Delete all rows for which the given $columnToFilter do not contain the $patternToSearch
  * This filter is to be used on columns containing strings. 

Modified: trunk/modules/DataTable/Filter/PatternRecursive.php
===================================================================
--- trunk/modules/DataTable/Filter/PatternRecursive.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Filter/PatternRecursive.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * @package Piwik_DataTable

Modified: trunk/modules/DataTable/Filter/ReplaceColumnNames.php
===================================================================
--- trunk/modules/DataTable/Filter/ReplaceColumnNames.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Filter/ReplaceColumnNames.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * This filter replaces column names using a mapping table that maps from the old name to the new name.
  * 

Modified: trunk/modules/DataTable/Filter/Sort.php
===================================================================
--- trunk/modules/DataTable/Filter/Sort.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Filter/Sort.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Sort the DataTable based on the value of column $columnToSort ordered by $order.
  * 

Modified: trunk/modules/DataTable/Filter.php
===================================================================
--- trunk/modules/DataTable/Filter.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Filter.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * A filter is applied instantly to a given DataTable and can 
  * - remove rows 

Modified: trunk/modules/DataTable/Manager.php
===================================================================
--- trunk/modules/DataTable/Manager.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Manager.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * The DataTable_Manager registers all the instanciated DataTable and provides an 
  * easy way to access them.

Modified: trunk/modules/DataTable/Renderer/Console.php
===================================================================
--- trunk/modules/DataTable/Renderer/Console.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Renderer/Console.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Simple output
  * 

Modified: trunk/modules/DataTable/Renderer/Csv.php
===================================================================
--- trunk/modules/DataTable/Renderer/Csv.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Renderer/Csv.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,5 +1,12 @@
-<?php
-
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * CSV export
  * 

Modified: trunk/modules/DataTable/Renderer/Html.php
===================================================================
--- trunk/modules/DataTable/Renderer/Html.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Renderer/Html.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,5 +1,12 @@
-<?php
-
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Simple HTML output
  * 

Modified: trunk/modules/DataTable/Renderer/Json.php
===================================================================
--- trunk/modules/DataTable/Renderer/Json.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Renderer/Json.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,5 +1,12 @@
-<?php
-
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * JSON export. Using the php 5.2 feature json_encode
  * 

Modified: trunk/modules/DataTable/Renderer/Php.php
===================================================================
--- trunk/modules/DataTable/Renderer/Php.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Renderer/Php.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,5 +1,12 @@
-<?php
-
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Returns the equivalent PHP array of the DataTable.
  * You can specify in the constructor if you want the serialized version.

Modified: trunk/modules/DataTable/Renderer/Xml.php
===================================================================
--- trunk/modules/DataTable/Renderer/Xml.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Renderer/Xml.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,5 +1,12 @@
-<?php
-
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * XML export. Using the excellent Pear::XML_Serializer.
  * We had to fix the PEAR library so that it works under PHP5 STRICT mode.

Modified: trunk/modules/DataTable/Renderer.php
===================================================================
--- trunk/modules/DataTable/Renderer.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Renderer.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * A DataTable Renderer can produce an output given a DataTable object.
  * All new Renderers must be copied in DataTable/Renderer and added to the factory() method.

Modified: trunk/modules/DataTable/Row/DataTableSummary.php
===================================================================
--- trunk/modules/DataTable/Row/DataTableSummary.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Row/DataTableSummary.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * This class creates a row from a given DataTable. 
  * The row contains 

Modified: trunk/modules/DataTable/Row.php
===================================================================
--- trunk/modules/DataTable/Row.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Row.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * A DataTable is composed by rows.
  * A row is composed by 

Modified: trunk/modules/DataTable/Simple.php
===================================================================
--- trunk/modules/DataTable/Simple.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable/Simple.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * The DataTable_Simple is used to provide a very simple way to create simple DataGrid.
  * 

Modified: trunk/modules/DataTable.php
===================================================================
--- trunk/modules/DataTable.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/DataTable.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * Initial Specification 

Modified: trunk/modules/Date.php
===================================================================
--- trunk/modules/Date.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Date.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * @package Piwik

Modified: trunk/modules/ErrorHandler.php
===================================================================
--- trunk/modules/ErrorHandler.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/ErrorHandler.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * @package Piwik

Modified: trunk/modules/ExceptionHandler.php
===================================================================
--- trunk/modules/ExceptionHandler.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/ExceptionHandler.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * @package Piwik

Modified: trunk/modules/Form.php
===================================================================
--- trunk/modules/Form.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Form.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
 require_once "HTML/QuickForm.php";
 require_once "HTML/QuickForm/Renderer/ArraySmarty.php";

Modified: trunk/modules/FrontController.php
===================================================================
--- trunk/modules/FrontController.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/FrontController.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
 /**
  * Zend classes

Modified: trunk/modules/Log/APICall.php
===================================================================
--- trunk/modules/Log/APICall.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Log/APICall.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Class used to log all the API Calls information (class / method / parameters / returned value / time spent)
  * 

Modified: trunk/modules/Log/Error.php
===================================================================
--- trunk/modules/Log/Error.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Log/Error.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Class used to log an error event.
  * 

Modified: trunk/modules/Log/Exception.php
===================================================================
--- trunk/modules/Log/Exception.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Log/Exception.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,5 +1,12 @@
-<?php
-
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Class used to log an exception event.
  * 

Modified: trunk/modules/Log/Message.php
===================================================================
--- trunk/modules/Log/Message.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Log/Message.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,5 +1,12 @@
-<?php
-
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Class used to log a standard message event.
  * 

Modified: trunk/modules/Log.php
===================================================================
--- trunk/modules/Log.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Log.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * 

Modified: trunk/modules/LogStats/Action.php
===================================================================
--- trunk/modules/LogStats/Action.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/LogStats/Action.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
 /**
  * Handles an action by the visitor.

Modified: trunk/modules/LogStats/Config.php
===================================================================
--- trunk/modules/LogStats/Config.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/LogStats/Config.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,5 +1,12 @@
-<?php
-
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Simple class to access the configuration file
  * 

Modified: trunk/modules/LogStats/Db.php
===================================================================
--- trunk/modules/LogStats/Db.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/LogStats/Db.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 
 /**
  * Simple database PDO wrapper.

Modified: trunk/modules/LogStats/Generator.php
===================================================================
--- trunk/modules/LogStats/Generator.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/LogStats/Generator.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 
 /**
  * Class used to generate fake visits. 

Modified: trunk/modules/LogStats/Visit.php
===================================================================
--- trunk/modules/LogStats/Visit.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/LogStats/Visit.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Class used to handle a Visit.
  * A visit is either NEW or KNOWN.

Modified: trunk/modules/LogStats.php
===================================================================
--- trunk/modules/LogStats.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/LogStats.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * To maximise the performance of the logging module, we use different techniques.
  * 

Modified: trunk/modules/Period.php
===================================================================
--- trunk/modules/Period.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Period.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Creating a new Piwik_Period 
  * 

Modified: trunk/modules/Piwik.php
===================================================================
--- trunk/modules/Piwik.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Piwik.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * @package Piwik

Modified: trunk/modules/Plugin.php
===================================================================
--- trunk/modules/Plugin.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Plugin.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
 /**
  * Abstract class to define a Piwik_Plugin.

Modified: trunk/modules/PluginsManager.php
===================================================================
--- trunk/modules/PluginsManager.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/PluginsManager.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
 /**
  * Plugin specification for a statistics logging plugin

Modified: trunk/modules/Site.php
===================================================================
--- trunk/modules/Site.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Site.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * @package Piwik

Modified: trunk/modules/SmartyPlugins/function.url.php
===================================================================
--- trunk/modules/SmartyPlugins/function.url.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/SmartyPlugins/function.url.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Smarty plugin
  * @package Smarty

Modified: trunk/modules/SmartyPlugins/modifier.sumtime.php
===================================================================
--- trunk/modules/SmartyPlugins/modifier.sumtime.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/SmartyPlugins/modifier.sumtime.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Smarty plugin
  * @package Smarty

Modified: trunk/modules/TablePartitioning.php
===================================================================
--- trunk/modules/TablePartitioning.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/TablePartitioning.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * NB: When a new table is partitionned using this class, we have to update the method

Modified: trunk/modules/Timer.php
===================================================================
--- trunk/modules/Timer.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Timer.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * @package Piwik

Modified: trunk/modules/Translate.php
===================================================================
--- trunk/modules/Translate.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Translate.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * @package Piwik

Modified: trunk/modules/Url.php
===================================================================
--- trunk/modules/Url.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Url.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 class Piwik_Url 
 {
 	static function getArrayFromCurrentQueryString()

Modified: trunk/modules/View.php
===================================================================
--- trunk/modules/View.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/View.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,8 +1,16 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 require_once 'Smarty/Smarty.class.php';
 
 require_once "iView.php";
-class Piwik_View implements iView
+class Piwik_View implements Piwik_iView
 {
 	private $template = '';
 	private $smarty = false;

Modified: trunk/modules/ViewDataTable/Cloud.php
===================================================================
--- trunk/modules/ViewDataTable/Cloud.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/ViewDataTable/Cloud.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 require_once "Visualization/Cloud.php";
 class Piwik_ViewDataTable_Cloud extends Piwik_ViewDataTable
 {

Modified: trunk/modules/ViewDataTable/GenerateGraphData.php
===================================================================
--- trunk/modules/ViewDataTable/GenerateGraphData.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/ViewDataTable/GenerateGraphData.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
 <?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 
 abstract class Piwik_ViewDataTable_GenerateGraphData extends Piwik_ViewDataTable
 {

Modified: trunk/modules/ViewDataTable/Graph.php
===================================================================
--- trunk/modules/ViewDataTable/Graph.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/ViewDataTable/Graph.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
 <?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 
 abstract class Piwik_ViewDataTable_Graph extends Piwik_ViewDataTable
 {	

Modified: trunk/modules/ViewDataTable/Html.php
===================================================================
--- trunk/modules/ViewDataTable/Html.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/ViewDataTable/Html.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
 <?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 
 class Piwik_ViewDataTable_Html extends Piwik_ViewDataTable
 {

Modified: trunk/modules/ViewDataTable.php
===================================================================
--- trunk/modules/ViewDataTable.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/ViewDataTable.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 abstract class Piwik_ViewDataTable
 {
 	protected $dataTableTemplate = null;

Modified: trunk/modules/Visualization/Chart.php
===================================================================
--- trunk/modules/Visualization/Chart.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Visualization/Chart.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 require_once "Visualization/OpenFlashChart.php";
 abstract class Piwik_Visualization_Chart extends Piwik_Visualization_OpenFlashChart
 {

Modified: trunk/modules/Visualization/ChartPie.php
===================================================================
--- trunk/modules/Visualization/ChartPie.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Visualization/ChartPie.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 require_once "Visualization/Chart.php";
 class Piwik_Visualization_ChartPie extends Piwik_Visualization_Chart
 {

Modified: trunk/modules/Visualization/ChartVerticalBar.php
===================================================================
--- trunk/modules/Visualization/ChartVerticalBar.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Visualization/ChartVerticalBar.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 require_once "Visualization/Chart.php";
 class Piwik_Visualization_ChartVerticalBar extends Piwik_Visualization_Chart
 {

Modified: trunk/modules/Visualization/Cloud.php
===================================================================
--- trunk/modules/Visualization/Cloud.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Visualization/Cloud.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 // inspired from Derek Harvey (www.derekharvey.co.uk)
 class Piwik_Visualization_Cloud 
 {

Modified: trunk/modules/Visualization/OpenFlashChart.php
===================================================================
--- trunk/modules/Visualization/OpenFlashChart.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/Visualization/OpenFlashChart.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
 <?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 require_once "iView.php";
 // Original class provided by Open Flash Chart
 abstract class Piwik_Visualization_OpenFlashChart implements iView

Deleted: trunk/modules/iView.php
===================================================================
--- trunk/modules/iView.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/modules/iView.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,5 +0,0 @@
-<?php
-interface iView
-{
-	function render();
-}
\ No newline at end of file

Modified: trunk/piwik.php
===================================================================
--- trunk/piwik.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/piwik.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * Misc Thoughts about optimization
  * 

Modified: trunk/plugins/API/Controller.php
===================================================================
--- trunk/plugins/API/Controller.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/API/Controller.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 require_once "API/Request.php";
 
 class Piwik_API_Controller extends Piwik_Controller

Modified: trunk/plugins/Actions/API.php
===================================================================
--- trunk/plugins/Actions/API.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Actions/API.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
 require_once "DataFiles/Browsers.php";
 require_once "DataFiles/OS.php";

Modified: trunk/plugins/Actions.php
===================================================================
--- trunk/plugins/Actions.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Actions.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 	
 class Piwik_Actions extends Piwik_Plugin
 {

Modified: trunk/plugins/ExamplePlugin/API.php
===================================================================
--- trunk/plugins/ExamplePlugin/API.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/ExamplePlugin/API.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 class MagicObject 
 {
 	function Incredible(){ return 'Incroyable'; }

Modified: trunk/plugins/ExamplePlugin/Controller.php
===================================================================
--- trunk/plugins/ExamplePlugin/Controller.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/ExamplePlugin/Controller.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
 class Piwik_ExamplePlugin_Controller extends Piwik_Controller
 {

Modified: trunk/plugins/ExamplePlugin.php
===================================================================
--- trunk/plugins/ExamplePlugin.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/ExamplePlugin.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 	
 class Piwik_ExamplePlugin extends Piwik_Plugin
 {	

Modified: trunk/plugins/Home/Controller.php
===================================================================
--- trunk/plugins/Home/Controller.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Home/Controller.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
 require_once "API/Request.php";
 require_once "ViewDataTable.php";

Deleted: trunk/plugins/Home/Controller_OldAPICalls.php
===================================================================
--- trunk/plugins/Home/Controller_OldAPICalls.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Home/Controller_OldAPICalls.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,443 +0,0 @@
-<?php
-
-function main()
-{
-	$api = Piwik_API_Proxy::getInstance();
-	
-//	$api->SitesManager->addSite("t2site2", array("http://localhost44", "http://test123.com"));
-//	$api->SitesManager->addSite("2e site33", array("http://localhost52", "http://test123.com"));
-//	$api->SitesManager->addSite("te2 site44", array("http://localhost31231", "http://test123.com"));
-//	$api->SitesManager->addSite("test name site", array("http://localhost", "http://test.com"));
-//	$api->SitesManager->getSiteUrlsFromId(1);
-//	$api->UsersManager->deleteUser("login");
-//	$api->UsersManager->addUser("login", "password", "email at geage.com");
-	require_once "API/Request.php";
-	
-//	Piwik::log("getResolution");
-	$request = new Piwik_API_Request('
-			method=UserSettings.getResolution
-			&idSite=1
-			&date=2007-08-25
-			&period=week
-			&format=console
-			&filter_limit=
-			&filter_offset=
-			&filter_column=label
-			&filter_pattern=
-		');
-	print(($request->process())); 
-	
-	exit;
-	
-	Piwik::log("getOS");
-	$request = new Piwik_API_Request('method=UserSettings.getOS
-
-			&idSite=1
-			&date=2007-08-25
-			&period=week
-			&format=xml
-			&filter_limit=
-			&filter_offset=
-			&filter_column=label
-			&filter_pattern=
-	');
-	dump(htmlentities($request->process()));
-	
-	Piwik::log("getConfiguration");
-	$request = new Piwik_API_Request('
-				method=UserSettings.getConfiguration
-				&idSite=1
-				&date=2007-08-25
-				&period=week
-				&format=xml
-				&filter_limit=10
-				&filter_offset=0
-				&filter_column=label
-				&filter_pattern=
-		');
-	dump(htmlentities($request->process()));
-	
-	Piwik::log("getBrowser");
-	$request = new Piwik_API_Request('
-				method=UserSettings.getBrowser
-				&idSite=1
-				&date=2007-08-25
-				&period=week
-				&format=xml
-				&filter_limit=
-				&filter_offset=
-				&filter_column=label
-				&filter_pattern=
-	');
-	dump(htmlentities($request->process()));
-	
-	Piwik::log("getBrowserType");
-	$request = new Piwik_API_Request('
-				method=UserSettings.getBrowserType
-				&idSite=1
-				&date=2007-08-25
-				&period=week
-				&format=xml
-				&filter_limit=
-				&filter_offset=
-				&filter_column=label
-				&filter_pattern=
-	');
-	dump(htmlentities($request->process()));
-	
-	Piwik::log("getWideScreen");
-	$request = new Piwik_API_Request('
-				method=UserSettings.getWideScreen
-				&idSite=1
-				&date=2007-08-25
-				&period=week
-				&format=xml
-				&filter_limit=
-				&filter_offset=
-				&filter_column=label
-				&filter_pattern=
-	');
-	dump(htmlentities($request->process()));
-	
-	Piwik::log("getPlugin");
-	$request = new Piwik_API_Request('
-				method=UserSettings.getPlugin
-				&idSite=1
-				&date=2007-08-25
-				&period=week
-				&format=xml
-				&filter_limit=
-				&filter_offset=
-				&filter_column=label
-				&filter_pattern=
-	');
-	dump(htmlentities($request->process()));
-	
-	Piwik::log("getActions");
-	$request = new Piwik_API_Request(
-		'method=Actions.getActions
-		&idSite=1
-		&date=2007-08-25
-		&period=month
-		&format=html
-		&filter_limit=10
-		&filter_offset=0
-	'
-	);
-//	echo(($request->process()));
-
-	Piwik::log("getActions EXPANDED");
-	$request = new Piwik_API_Request(
-		'method=Actions.getActions
-		&idSite=1
-		&date=2007-08-25
-		&period=month
-		&format=html
-		&expanded=true
-		&filter_column=label
-		&filter_pattern=a
-		&filter_limit=10
-		&filter_offset=0
-		
-	'
-	);
-//	echo(($request->process()));
-	
-	Piwik::log("getActions EXPANDED SUBTABLE");
-	$request = new Piwik_API_Request(
-		'method=Actions.getActions
-		&idSubtable=5477
-		&idSite=1
-		&date=2007-08-25
-		&period=month
-		&format=html
-		&expanded=false
-		
-	'
-	);
-//	echo(($request->process()));
-	
-	Piwik::log("getDownloads");
-	$request = new Piwik_API_Request(
-		'method=Actions.getDownloads
-		&idSite=1
-		&date=2007-08-25
-		&period=month
-		&format=xml
-	'
-	);
-//	dump(htmlentities($request->process()));
-	Piwik::log("getOutlinks");
-	$request = new Piwik_API_Request(
-		'method=Actions.getOutlinks
-		&idSite=1
-		&date=2007-08-25
-		&period=month
-		&format=xml
-	'
-	);
-//	dump(htmlentities($request->process()));
-	Piwik::log("getProvider");
-	$request = new Piwik_API_Request(
-		'method=Provider.getProvider
-		&idSite=1
-		&date=2007-08-25
-		&period=month
-		&format=xml
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	Piwik::log("getCountry");
-	$request = new Piwik_API_Request(
-		'method=UserCountry.getCountry
-		&idSite=1
-		&date=2007-08-25
-		&period=month
-		&format=xml
-		&filter_limit=10
-		&filter_offset=0
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	Piwik::log("getContinent");
-	$request = new Piwik_API_Request(
-		'method=UserCountry.getContinent
-		&idSite=1
-		&date=2007-08-25
-		&period=month
-		&format=xml
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	
-	Piwik::log("getContinent");
-	$request = new Piwik_API_Request(
-		'method=VisitFrequency.getSummary
-		&idSite=1
-		&date=2007-08-25
-		&period=month
-		&format=xml
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	Piwik::log("getNumberOfVisitsPerVisitDuration");
-	$request = new Piwik_API_Request(
-		'method=VisitorInterest.getNumberOfVisitsPerVisitDuration
-		&idSite=1
-		&date=2007-08-25
-		&period=month
-		&format=xml
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	Piwik::log("getNumberOfVisitsPerPage");
-	$request = new Piwik_API_Request(
-		'method=VisitorInterest.getNumberOfVisitsPerPage
-		&idSite=1
-		&date=2007-08-25
-		&period=month
-		&format=xml
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	
-	
-	Piwik::log("getVisitInformationPerServerTime");
-	$request = new Piwik_API_Request(
-		'method=VisitTime.getVisitInformationPerServerTime
-		&idSite=1
-		&date=2007-08-25
-		&period=week
-		&format=xml
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	
-	Piwik::log("getRefererType");
-	$request = new Piwik_API_Request(
-		'method=Referers.getRefererType
-		&idSite=1
-		&date=2007-08-25
-		&period=week
-		&format=xml
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	Piwik::log("getKeywords");
-	$request = new Piwik_API_Request(
-		'method=Referers.getKeywords
-		&idSite=1
-		&date=2007-08-25
-		&period=week
-		&format=xml
-		&filter_limit=10
-		&filter_offset=0
-	'
-	);
-	dump(htmlentities($request->process()));
-	Piwik::log("getSearchEnginesFromKeywordId");
-	$request = new Piwik_API_Request(
-		'method=Referers.getSearchEnginesFromKeywordId
-		&idSite=1
-		&date=2007-08-25
-		&period=week
-		&format=xml
-		&idSubtable=1886
-		&filter_limit=10
-		&filter_offset=0
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	Piwik::log("getSearchEngines");
-	$request = new Piwik_API_Request(
-		'method=Referers.getSearchEngines
-		&idSite=1
-		&date=2007-08-25
-		&period=week
-		&format=xml
-		&filter_limit=10
-		&filter_offset=0
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	
-	Piwik::log("getKeywordsFromSearchEngineId");
-	$request = new Piwik_API_Request(
-		'method=Referers.getKeywordsFromSearchEngineId
-		&idSite=1
-		&date=2007-08-25
-		&period=week
-		&format=xml
-		&filter_limit=10
-		&filter_offset=0
-		&idSubtable=1779
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	
-	
-	Piwik::log("getCampaigns");
-	$request = new Piwik_API_Request(
-		'method=Referers.getCampaigns
-		&idSite=1
-		&date=2007-08-25
-		&period=week
-		&format=xml
-		&filter_limit=10
-		&filter_offset=0
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	
-	
-	Piwik::log("getKeywordsFromCampaignId");
-	$request = new Piwik_API_Request(
-		'method=Referers.getKeywordsFromCampaignId
-		&idSite=1
-		&date=2007-08-25
-		&period=week
-		&format=xml
-		&filter_limit=10
-		&filter_offset=0
-		&idSubtable=2251
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	
-	Piwik::log("getWebsites");
-	$request = new Piwik_API_Request(
-		'method=Referers.getWebsites
-		&idSite=1
-		&date=2007-08-25
-		&period=week
-		&format=xml
-		&filter_limit=10
-		&filter_offset=0
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	
-	
-	Piwik::log("getUrlsFromWebsiteId");
-	$request = new Piwik_API_Request(
-		'method=Referers.getUrlsFromWebsiteId
-		&idSite=1
-		&date=2007-08-25
-		&period=week
-		&format=xml
-		&filter_limit=10
-		&filter_offset=0
-		&idSubtable=2432
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	Piwik::log("getPartners");
-	$request = new Piwik_API_Request(
-		'method=Referers.getPartners
-		&idSite=1
-		&date=2007-08-25
-		&period=week
-		&format=xml
-		&filter_limit=10
-		&filter_offset=0
-	'
-	);
-	dump(htmlentities($request->process()));
-	
-	
-	
-	Piwik::log("getUrlsFromPartnerId");
-	$request = new Piwik_API_Request(
-		'method=Referers.getUrlsFromPartnerId
-		&idSite=1
-		&date=2007-08-25
-		&period=week
-		&format=xml
-		&filter_limit=10
-		&filter_offset=0
-		&idSubtable=3090
-	');
-	dump(htmlentities($request->process()));
-	
-	
-	$referersNumeric=array(
-		'getNumberOfDistinctSearchEngines',	
-		'getNumberOfDistinctKeywords',
-		'getNumberOfDistinctCampaigns',
-		'getNumberOfDistinctWebsites',
-		'getNumberOfDistinctWebsitesUrls',
-		'getNumberOfDistinctPartners',
-		'getNumberOfDistinctPartnersUrls',
-	);
-	foreach($referersNumeric as $name)
-	{
-		Piwik::log("$name");
-		$request = new Piwik_API_Request(
-			"method=Referers.$name
-			&idSite=1
-			&date=2007-08-20
-			&period=day
-			&format=xml
-			&filter_limit=10
-			&filter_offset=0
-		"
-		);
-		dump(htmlentities($request->process()));
-	}
-	
-}
\ No newline at end of file

Modified: trunk/plugins/Installation/Controller.php
===================================================================
--- trunk/plugins/Installation/Controller.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Installation/Controller.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 require_once "View.php";
 require_once "Installation/View.php";
 class Piwik_Installation_Controller extends Piwik_Controller

Modified: trunk/plugins/Installation/FormDatabaseSetup.php
===================================================================
--- trunk/plugins/Installation/FormDatabaseSetup.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Installation/FormDatabaseSetup.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 require_once "modules/Form.php";
 class Piwik_Installation_FormDatabaseSetup extends Piwik_Form
 {

Modified: trunk/plugins/Installation/FormFirstWebsiteSetup.php
===================================================================
--- trunk/plugins/Installation/FormFirstWebsiteSetup.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Installation/FormFirstWebsiteSetup.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 require_once "modules/Form.php";
 class Piwik_Installation_FormFirstWebsiteSetup extends Piwik_Form
 {

Modified: trunk/plugins/Installation/FormGeneralSetup.php
===================================================================
--- trunk/plugins/Installation/FormGeneralSetup.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Installation/FormGeneralSetup.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 require_once "modules/Form.php";
 class Piwik_Installation_FormGeneralSetup extends Piwik_Form
 {

Modified: trunk/plugins/Installation/View.php
===================================================================
--- trunk/plugins/Installation/View.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Installation/View.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 class Piwik_Install_View extends Piwik_View
 {
 	protected $mainTemplate = 'Installation/templates/structure.tpl';

Modified: trunk/plugins/Installation.php
===================================================================
--- trunk/plugins/Installation.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Installation.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,13 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
+
 require_once "Installation/Controller.php";
 class Piwik_Installation extends Piwik_Plugin
 {	

Modified: trunk/plugins/Login/Controller.php
===================================================================
--- trunk/plugins/Login/Controller.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Login/Controller.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 require_once "UsersManager/API.php";
 require_once "Login/Form.php";
 require_once "View.php";

Modified: trunk/plugins/Login/Form.php
===================================================================
--- trunk/plugins/Login/Form.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Login/Form.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 require_once "modules/Form.php";
 class Piwik_Login_Form extends Piwik_Form
 {

Modified: trunk/plugins/Login.php
===================================================================
--- trunk/plugins/Login.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Login.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 require "Login/Controller.php";
 require "Cookie.php";
 

Modified: trunk/plugins/Logout/Controller.php
===================================================================
--- trunk/plugins/Logout/Controller.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Logout/Controller.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 class Piwik_Logout_Controller extends Piwik_Controller
 {
 	function index()

Modified: trunk/plugins/Openads/Controller.php
===================================================================
--- trunk/plugins/Openads/Controller.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Openads/Controller.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 class Piwik_Openads_Controller extends Piwik_Installation_Controller
 {
 	function __construct()

Modified: trunk/plugins/Openads.php
===================================================================
--- trunk/plugins/Openads.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Openads.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 	
 class Piwik_Openads extends Piwik_Plugin
 {	

Modified: trunk/plugins/Provider/API.php
===================================================================
--- trunk/plugins/Provider/API.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Provider/API.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
 require_once "DataFiles/Browsers.php";
 require_once "DataFiles/OS.php";

Modified: trunk/plugins/Provider.php
===================================================================
--- trunk/plugins/Provider.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Provider.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 	
 class Piwik_Provider extends Piwik_Plugin
 {	

Modified: trunk/plugins/Referers/API.php
===================================================================
--- trunk/plugins/Referers/API.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Referers/API.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
 require_once "DataFiles/Browsers.php";
 require_once "DataFiles/OS.php";

Modified: trunk/plugins/Referers.php
===================================================================
--- trunk/plugins/Referers.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/Referers.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 	
 class Piwik_Referers extends Piwik_Plugin
 {

Modified: trunk/plugins/SitesManager/API.php
===================================================================
--- trunk/plugins/SitesManager/API.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/SitesManager/API.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * @package Piwik

Modified: trunk/plugins/SitesManager/Controller.php
===================================================================
--- trunk/plugins/SitesManager/Controller.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/SitesManager/Controller.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 class Piwik_SitesManager_Controller extends Piwik_Controller
 {
 	function index()

Modified: trunk/plugins/SitesManager.php
===================================================================
--- trunk/plugins/SitesManager.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/SitesManager.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 	
 class Piwik_SitesManager extends Piwik_Plugin
 {	

Modified: trunk/plugins/UserCountry/API.php
===================================================================
--- trunk/plugins/UserCountry/API.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/UserCountry/API.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
 require_once "DataFiles/Countries.php";
 

Modified: trunk/plugins/UserCountry.php
===================================================================
--- trunk/plugins/UserCountry.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/UserCountry.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 	
 class Piwik_UserCountry extends Piwik_Plugin
 {	

Modified: trunk/plugins/UserSettings/API.php
===================================================================
--- trunk/plugins/UserSettings/API.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/UserSettings/API.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
 require_once "DataFiles/Browsers.php";
 require_once "DataFiles/OS.php";

Modified: trunk/plugins/UserSettings.php
===================================================================
--- trunk/plugins/UserSettings.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/UserSettings.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 
 class Piwik_UserSettings extends Piwik_Plugin
 {	

Modified: trunk/plugins/UsersManager/API.php
===================================================================
--- trunk/plugins/UsersManager/API.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/UsersManager/API.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 /**
  * 
  * @package Piwik

Modified: trunk/plugins/UsersManager/Controller.php
===================================================================
--- trunk/plugins/UsersManager/Controller.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/UsersManager/Controller.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 class Piwik_UsersManager_Controller extends Piwik_Controller
 {
 	function index()

Modified: trunk/plugins/UsersManager.php
===================================================================
--- trunk/plugins/UsersManager.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/UsersManager.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 	
 class Piwik_UsersManager extends Piwik_Plugin
 {	

Modified: trunk/plugins/VisitFrequency/API.php
===================================================================
--- trunk/plugins/VisitFrequency/API.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/VisitFrequency/API.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 class Piwik_VisitFrequency_API extends Piwik_Apiable
 {
 	static private $instance = null;

Modified: trunk/plugins/VisitFrequency.php
===================================================================
--- trunk/plugins/VisitFrequency.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/VisitFrequency.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 	
 class Piwik_VisitFrequency extends Piwik_Plugin
 {	

Modified: trunk/plugins/VisitTime/API.php
===================================================================
--- trunk/plugins/VisitTime/API.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/VisitTime/API.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 		
 class Piwik_VisitTime_API extends Piwik_Apiable
 {

Modified: trunk/plugins/VisitTime.php
===================================================================
--- trunk/plugins/VisitTime.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/VisitTime.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 	
 class Piwik_VisitTime extends Piwik_Plugin
 {	

Modified: trunk/plugins/VisitorInterest/API.php
===================================================================
--- trunk/plugins/VisitorInterest/API.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/VisitorInterest/API.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,5 +1,14 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 
+
 class Piwik_VisitorInterest_API extends Piwik_Apiable
 {
 	static private $instance = null;

Modified: trunk/plugins/VisitorInterest.php
===================================================================
--- trunk/plugins/VisitorInterest.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/VisitorInterest.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 	
 class Piwik_VisitorInterest extends Piwik_Plugin
 {	

Modified: trunk/plugins/VisitsSummary/API.php
===================================================================
--- trunk/plugins/VisitsSummary/API.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/VisitsSummary/API.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,12 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
+
 class Piwik_VisitsSummary_API extends Piwik_Apiable
 {
 	static private $instance = null;

Modified: trunk/plugins/VisitsSummary.php
===================================================================
--- trunk/plugins/VisitsSummary.php	2008-01-14 04:40:16 UTC (rev 163)
+++ trunk/plugins/VisitsSummary.php	2008-01-14 04:47:58 UTC (rev 164)
@@ -1,4 +1,11 @@
-<?php
+<?php
+/**
+ * Piwik - Open source web analytics
+ * 
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
+ * @version $Id$
+ */
 	
 class Piwik_VisitsSummary extends Piwik_Plugin
 {	



More information about the Piwik-svn mailing list