diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-08-02 17:59:33 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-08-02 17:59:33 +0400 |
commit | a96ec40e983a8b64f4c25def541a519ff3670e6a (patch) | |
tree | bef2a5f7b1e9532dc96161334e23a553cdff7ea1 /plugins/ExamplePlugin/ExamplePlugin.php | |
parent | 61997f45e4c39360000e815c9e0853ae04e2f56f (diff) |
Refs #4059 Converting dozens of plugins/* classes to use Namespaces, \Piwik\Plugins\*
Added namespaces to functions.php files in the five plugins that had one
Work in progress
Diffstat (limited to 'plugins/ExamplePlugin/ExamplePlugin.php')
-rw-r--r-- | plugins/ExamplePlugin/ExamplePlugin.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/ExamplePlugin/ExamplePlugin.php b/plugins/ExamplePlugin/ExamplePlugin.php index 481c324b5d..812898291d 100644 --- a/plugins/ExamplePlugin/ExamplePlugin.php +++ b/plugins/ExamplePlugin/ExamplePlugin.php @@ -6,16 +6,17 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * * @category Piwik_Plugins - * @package Piwik_ExamplePlugin + * @package ExamplePlugin */ -use Piwik\Plugin; +namespace Piwik\Plugins\ExamplePlugin; + use Piwik\WidgetsList; /** * - * @package Piwik_ExamplePlugin + * @package ExamplePlugin */ -class Piwik_ExamplePlugin extends Plugin +class ExamplePlugin extends \Piwik\Plugin { /** * @see Piwik_Plugin::getListHooksRegistered |