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:
authordiosmosis <benakamoorthi@fastmail.fm>2013-11-18 18:41:50 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2013-11-18 20:12:09 +0400
commitefb4ef581222bc9ae572e57f6f792806c4a79c6f (patch)
tree84c5b3dbf486f1652229f0ec2117427461e52f0e
parent82a36f16c7b12e45d8710dbbcafd14f890c5b801 (diff)
Miscellaneous tweaks to config.
-rw-r--r--core/DataTable.php8
-rw-r--r--core/View/ViewInterface.php7
-rw-r--r--core/ViewDataTable/RequestConfig.php6
-rw-r--r--plugins/PrivacyManager/Controller.php3
4 files changed, 11 insertions, 13 deletions
diff --git a/core/DataTable.php b/core/DataTable.php
index 184be3b534..94500e08d1 100644
--- a/core/DataTable.php
+++ b/core/DataTable.php
@@ -34,7 +34,7 @@ require_once PIWIK_INCLUDE_PATH . '/core/Common.php';
* ### The Basics
*
* DataTables consist of rows and each row consists of columns. A column value can be
- * be a numeric, string or array.
+ * be numeric, a string or an array.
*
* Every row has an ID. The ID is either the index of the row or [ID_SUMMARY_ROW](#ID_SUMMARY_ROW).
*
@@ -97,9 +97,9 @@ require_once PIWIK_INCLUDE_PATH . '/core/Common.php';
*
* ### Learn more
*
- * - **ArchiveProcessor** &mdash; to learn how DataTables are persisted.
- * - **DataTable\Renderer** &mdash; to learn how DataTable data is exported to XML, JSON, etc.
- * - **DataTable\Filter** &mdash; to see all core Filters.
+ * - **[ArchiveProcessor](#)** &mdash; to learn how DataTables are persisted.
+ * - **[DataTable\Renderer](#)** &mdash; to learn how DataTable data is exported to XML, JSON, etc.
+ * - **[DataTable\Filter](#)** &mdash; to see all core Filters.
*
* ### Examples
*
diff --git a/core/View/ViewInterface.php b/core/View/ViewInterface.php
index 99f3370cad..2a0fb6c0c6 100644
--- a/core/View/ViewInterface.php
+++ b/core/View/ViewInterface.php
@@ -12,16 +12,17 @@
namespace Piwik\View;
/**
- * Rendering interface for View and Piwik_Visualization
+ * Rendering interface for all "view" types.
*
* @package Piwik
+ * @api
*/
interface ViewInterface
{
/**
- * Outputs the data.
+ * Outputs data.
*
* @return mixed (image, array, html...)
*/
function render();
-}
+} \ No newline at end of file
diff --git a/core/ViewDataTable/RequestConfig.php b/core/ViewDataTable/RequestConfig.php
index bec186d2ab..9f13004639 100644
--- a/core/ViewDataTable/RequestConfig.php
+++ b/core/ViewDataTable/RequestConfig.php
@@ -21,9 +21,8 @@ use Piwik\Common;
*/
class RequestConfig
{
-
/**
- * The list of ViewDataTable properties that are 'Client Side Parameters'.
+ * The list of request parameters that are 'Client Side Parameters'.
*/
public $clientSideParameters = array(
'filter_excludelowpop',
@@ -222,5 +221,4 @@ class RequestConfig
return $method;
}
-
-}
+} \ No newline at end of file
diff --git a/plugins/PrivacyManager/Controller.php b/plugins/PrivacyManager/Controller.php
index f4f2a1b098..a54d6bd836 100644
--- a/plugins/PrivacyManager/Controller.php
+++ b/plugins/PrivacyManager/Controller.php
@@ -168,8 +168,7 @@ class Controller extends \Piwik\Plugin\ControllerAdmin
$logDataPurger->purgeData();
}
if ($settings['delete_reports_enable']) {
- $reportsPurger = ReportsPurger::make(
- $settings, PrivacyManager::getAllMetricsToKeep());
+ $reportsPurger = ReportsPurger::make($settings, PrivacyManager::getAllMetricsToKeep());
$reportsPurger->purgeData(true);
}
}