diff options
-rw-r--r-- | core/DataTable.php | 8 | ||||
-rw-r--r-- | core/View/ViewInterface.php | 7 | ||||
-rw-r--r-- | core/ViewDataTable/RequestConfig.php | 6 | ||||
-rw-r--r-- | plugins/PrivacyManager/Controller.php | 3 |
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** — to learn how DataTables are persisted. - * - **DataTable\Renderer** — to learn how DataTable data is exported to XML, JSON, etc. - * - **DataTable\Filter** — to see all core Filters. + * - **[ArchiveProcessor](#)** — to learn how DataTables are persisted. + * - **[DataTable\Renderer](#)** — to learn how DataTable data is exported to XML, JSON, etc. + * - **[DataTable\Filter](#)** — 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); } } |