diff options
author | sgiehl <stefan@piwik.org> | 2015-01-14 23:56:06 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2015-01-14 23:56:06 +0300 |
commit | a778ac88c864bdaaa205fbfccdbc409b5d1de443 (patch) | |
tree | 06eb269323d28b5db0915456bc8fd3621756d6df /core | |
parent | f4fc940f2c37c1ab8178e50b15b5479e2aef5261 (diff) |
removed several occurences of UserSettings plugin
Diffstat (limited to 'core')
-rw-r--r-- | core/API/Proxy.php | 2 | ||||
-rw-r--r-- | core/API/Request.php | 8 | ||||
-rw-r--r-- | core/Archive.php | 2 | ||||
-rw-r--r-- | core/Piwik.php | 2 | ||||
-rw-r--r-- | core/Plugin/ComponentFactory.php | 4 | ||||
-rw-r--r-- | core/Plugin/Manager.php | 6 | ||||
-rw-r--r-- | core/Url.php | 2 | ||||
-rw-r--r-- | core/ViewDataTable/Config.php | 6 | ||||
-rw-r--r-- | core/ViewDataTable/Factory.php | 2 |
9 files changed, 17 insertions, 17 deletions
diff --git a/core/API/Proxy.php b/core/API/Proxy.php index f442949a3c..0345693b62 100644 --- a/core/API/Proxy.php +++ b/core/API/Proxy.php @@ -415,7 +415,7 @@ class Proxy extends Singleton } /** - * Includes the class API by looking up plugins/UserSettings/API.php + * Includes the class API by looking up plugins/xxx/API.php * * @param string $fileName api class name eg. "API" * @throws Exception diff --git a/core/API/Request.php b/core/API/Request.php index 2d97ba6f41..631000194b 100644 --- a/core/API/Request.php +++ b/core/API/Request.php @@ -46,7 +46,7 @@ use Piwik\Log; * * **Basic Usage** * - * $request = new Request('method=UserSettings.getLanguage&idSite=1&date=yesterday&period=week' + * $request = new Request('method=UserLanguage.getLanguage&idSite=1&date=yesterday&period=week' * . '&format=xml&filter_limit=5&filter_offset=0') * $result = $request->process(); * echo $result; @@ -54,7 +54,7 @@ use Piwik\Log; * **Getting a unrendered DataTable** * * // use the convenience method 'processRequest' - * $dataTable = Request::processRequest('UserSettings.getLanguage', array( + * $dataTable = Request::processRequest('UserLanguage.getLanguage', array( * 'idSite' => 1, * 'date' => 'yesterday', * 'period' => 'week', @@ -78,7 +78,7 @@ class Request * forwarded to request array before it is returned. * * @param string|array $request The base request string or array, eg, - * `'module=UserSettings&action=getLanguage'`. + * `'module=UserLanguage&action=getLanguage'`. * @param array $defaultRequest Default query parameters. If a query parameter is absent in `$request`, it will be loaded * from this. Defaults to `$_GET + $_POST`. * @return array @@ -125,7 +125,7 @@ class Request * Constructor. * * @param string|array $request Query string that defines the API call (must at least contain a **method** parameter), - * eg, `'method=UserSettings.getLanguage&idSite=1&date=yesterday&period=week&format=xml'` + * eg, `'method=UserLanguage.getLanguage&idSite=1&date=yesterday&period=week&format=xml'` * If a request is not provided, then we use the values in the `$_GET` and `$_POST` * superglobals. * @param array $defaultRequest Default query parameters. If a query parameter is absent in `$request`, it will be loaded diff --git a/core/Archive.php b/core/Archive.php index ae62f5edfb..3a41bf9d7d 100644 --- a/core/Archive.php +++ b/core/Archive.php @@ -828,7 +828,7 @@ class Archive /** * Returns the name of the plugin that archives a given report. * - * @param string $report Archive data name, eg, `'nb_visits'`, `'UserSettings_...'`, etc. + * @param string $report Archive data name, eg, `'nb_visits'`, `'DevicesDetection_...'`, etc. * @return string Plugin name. * @throws \Exception If a plugin cannot be found or if the plugin for the report isn't * activated. diff --git a/core/Piwik.php b/core/Piwik.php index 7eb70c8ec8..5b8c466ac2 100644 --- a/core/Piwik.php +++ b/core/Piwik.php @@ -503,7 +503,7 @@ class Piwik } /** - * Returns the current module read from the URL (eg. 'API', 'UserSettings', etc.) + * Returns the current module read from the URL (eg. 'API', 'DevicesDetection', etc.) * * @return string */ diff --git a/core/Plugin/ComponentFactory.php b/core/Plugin/ComponentFactory.php index 68415e9397..751f1157d4 100644 --- a/core/Plugin/ComponentFactory.php +++ b/core/Plugin/ComponentFactory.php @@ -24,7 +24,7 @@ class ComponentFactory * associated subdirectory. * * @param string $pluginName The name of the plugin the component is expected to belong to, - * eg, `'UserSettings'`. + * eg, `'DevicesDetection'`. * @param string $componentClassSimpleName The component's class name w/o namespace, eg, * `"GetKeywords"`. * @param string $componentTypeClass The fully qualified class name of the component type, eg, @@ -70,7 +70,7 @@ class ComponentFactory * @param string $componentTypeClass The fully qualified class name of the component type, eg, * `"Piwik\Plugin\Report"`. * @param string $pluginName|false The name of the plugin the component is expected to belong to, - * eg, `'UserSettings'`. + * eg, `'DevicesDetection'`. * @param callback $predicate * @return mixed The component that satisfies $predicate or null if not found. */ diff --git a/core/Plugin/Manager.php b/core/Plugin/Manager.php index 3d793bf0c1..fd7b02837f 100644 --- a/core/Plugin/Manager.php +++ b/core/Plugin/Manager.php @@ -711,7 +711,7 @@ class Manager extends Singleton * * array( * 'UserCountry' => Plugin $pluginObject, - * 'UserSettings' => Plugin $pluginObject, + * 'UserLanguage' => Plugin $pluginObject, * ); * * @return Plugin[] @@ -745,7 +745,7 @@ class Manager extends Singleton * * array( * 'UserCountry' => Plugin $pluginObject, - * 'UserSettings' => Plugin $pluginObject, + * 'UserLanguage' => Plugin $pluginObject, * ); * * @return Plugin[] @@ -768,7 +768,7 @@ class Manager extends Singleton * * array( * 'UserCountry' - * 'UserSettings' + * 'UserLanguage' * ); * * @return string[] diff --git a/core/Url.php b/core/Url.php index daf6c73c95..1374ce1065 100644 --- a/core/Url.php +++ b/core/Url.php @@ -28,7 +28,7 @@ use Piwik\Session; * public function myControllerAction() * { * $url = Url::getCurrentQueryStringWithParametersModified(array( - * 'module' => 'UserSettings', + * 'module' => 'DevicesDetection', * 'action' => 'index' * )); * Url::redirectToUrl($url); diff --git a/core/ViewDataTable/Config.php b/core/ViewDataTable/Config.php index 1706e4b15f..220a253518 100644 --- a/core/ViewDataTable/Config.php +++ b/core/ViewDataTable/Config.php @@ -586,7 +586,7 @@ class Config * references the one that is currently being displayed, it will not be added to the related * report list. * - * @param string $relatedReport The plugin and method of the report, eg, `'UserSettings.getBrowser'`. + * @param string $relatedReport The plugin and method of the report, eg, `'DevicesDetection.getBrowsers'`. * @param string $title The report's display name, eg, `'Browsers'`. * @param array $queryParams Any extra query parameters to set in releated report's URL, eg, * `array('idGoal' => 'ecommerceOrder')`. @@ -620,8 +620,8 @@ class Config * titles, eg, * ``` * array( - * 'UserSettings.getBrowser' => 'Browsers', - * 'UserSettings.getConfiguration' => 'Configurations' + * 'DevicesDetection.getBrowsers' => 'Browsers', + * 'Resolution.getConfiguration' => 'Configurations' * ) * ``` */ diff --git a/core/ViewDataTable/Factory.php b/core/ViewDataTable/Factory.php index 01a301cb19..a8dca0c59e 100644 --- a/core/ViewDataTable/Factory.php +++ b/core/ViewDataTable/Factory.php @@ -80,7 +80,7 @@ class Factory * If nothing is configured for the report and `null` is supplied for this * argument, **table** is used. * @param bool|false|string $apiAction The API method for the report that will be displayed, eg, - * `'UserSettings.getBrowser'`. + * `'DevicesDetection.getBrowsers'`. * @param bool|false|string $controllerAction The controller name and action dedicated to displaying the report. This * action is used when reloading reports or changing the report visualization. * Defaulted to `$apiAction` if `false` is supplied. |