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:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-08-22 17:23:16 +0400
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-08-22 17:23:16 +0400
commit17648f51b30317ea27d1027dbe68eeab81ed2fa0 (patch)
tree436d3d9c8546deb59b8f307dd5b20cd1a60d407f /plugins/UserCountry
parentacfca79b4d787d6ae526e4d803dc8bcc29ee78e3 (diff)
phpdoc cleanup:
* add @category (Piwik => 'core', Piwik_Plugins => 'plugins') * in core, use @package and @subpackage more consistently to group files/classes; exception is DataFiles/*, PluginsFunctions/*, and SmartyPlugins/* * in plugins, @package is the plugin name * removed '@param none' -- not a phpdoc convention * '@throws' and '@return void' are also not phpdoc conventions, but are widely used elsewhere, e.g., Smarty & Zend
Diffstat (limited to 'plugins/UserCountry')
-rw-r--r--plugins/UserCountry/API.php3
-rw-r--r--plugins/UserCountry/Controller.php5
-rw-r--r--plugins/UserCountry/UserCountry.php6
-rw-r--r--plugins/UserCountry/functions.php1
4 files changed, 10 insertions, 5 deletions
diff --git a/plugins/UserCountry/API.php b/plugins/UserCountry/API.php
index ee57314e1d..3fda341b8c 100644
--- a/plugins/UserCountry/API.php
+++ b/plugins/UserCountry/API.php
@@ -6,6 +6,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
* @version $Id$
*
+ * @category Piwik_Plugins
* @package Piwik_UserCountry
*/
@@ -68,6 +69,4 @@ class Piwik_UserCountry_API
$archive = Piwik_Archive::build($idSite, $period, $date );
return $archive->getDataTableFromNumeric('UserCountry_distinctCountries');
}
-
-
}
diff --git a/plugins/UserCountry/Controller.php b/plugins/UserCountry/Controller.php
index cf56feae60..d4aeac3149 100644
--- a/plugins/UserCountry/Controller.php
+++ b/plugins/UserCountry/Controller.php
@@ -6,9 +6,14 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
* @version $Id$
*
+ * @category Piwik_Plugins
* @package Piwik_UserCountry
*/
+/**
+ *
+ * @package Piwik_UserCountry
+ */
class Piwik_UserCountry_Controller extends Piwik_Controller
{
function index()
diff --git a/plugins/UserCountry/UserCountry.php b/plugins/UserCountry/UserCountry.php
index 04b41463bd..5c502d872d 100644
--- a/plugins/UserCountry/UserCountry.php
+++ b/plugins/UserCountry/UserCountry.php
@@ -6,11 +6,12 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
* @version $Id$
*
+ * @category Piwik_Plugins
* @package Piwik_UserCountry
*/
-
+
/**
- *
+ *
* @package Piwik_UserCountry
*/
class Piwik_UserCountry extends Piwik_Plugin
@@ -106,4 +107,3 @@ class Piwik_UserCountry extends Piwik_Plugin
destroy($tableContinent);
}
}
-
diff --git a/plugins/UserCountry/functions.php b/plugins/UserCountry/functions.php
index ba49a85c44..5ef4abd2e8 100644
--- a/plugins/UserCountry/functions.php
+++ b/plugins/UserCountry/functions.php
@@ -6,6 +6,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
* @version $Id$
*
+ * @category Piwik_Plugins
* @package Piwik_UserCountry
*/