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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-07-28 03:07:52 +0400
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2008-07-28 03:07:52 +0400
commite20c0f86431de3c35c3e5cf7f66d8d98c71aced7 (patch)
tree6f5c6359390128afa87da03e68eed0a3fd5ddaf2 /plugins/API
parente768f4d2788a74d44ba102bbcf3f68e320174f7b (diff)
- Adding description to each plugin
- cleaning plugins listing, splitting ExamplePlugin in multiple small plugins, renamed Home -> CoreHome PluginsAdmin -> CorePluginsAdmin AdminHome -> CoreAdminHome - simplified authentication classes (not using Zend_Auth_Db anymore) - adding a new widget listing the last posts on Piwik.org/blog
Diffstat (limited to 'plugins/API')
-rw-r--r--plugins/API/API.php4
-rw-r--r--plugins/API/Controller.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/API/API.php b/plugins/API/API.php
index af64f74cb4..de0b15fbbf 100644
--- a/plugins/API/API.php
+++ b/plugins/API/API.php
@@ -6,7 +6,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
* @version $Id: ExamplePlugin.php 169 2008-01-14 05:41:15Z matt $
*
- * @package Piwik_PluginsAdmin
+ * @package Piwik_CorePluginsAdmin
*/
class Piwik_API extends Piwik_Plugin
@@ -16,7 +16,7 @@ class Piwik_API extends Piwik_Plugin
return array(
// name must be the className prefix!
'name' => 'API',
- 'description' => '',
+ 'description' => 'All the data in Piwik is available through simple APIs. This plugin is the web service entry point, that you can call to get your Web Analytics data in xml, json, php, csv, etc. Discover the <a href=http://dev.piwik.org/trac/wiki/API/Reference>Piwik APIs</a>.',
'author' => 'Piwik',
'homepage' => 'http://piwik.org/',
'version' => '0.1',
diff --git a/plugins/API/Controller.php b/plugins/API/Controller.php
index e411626b2d..da14d63ee1 100644
--- a/plugins/API/Controller.php
+++ b/plugins/API/Controller.php
@@ -52,7 +52,7 @@ class Piwik_API_Controller extends Piwik_Controller
function listAllAPI()
{
- $token_auth = Zend_Registry::get('auth')->getTokenAuth();
+ $token_auth = Piwik::getCurrentUserTokenAuth();
echo "<style>body{ font-family:georgia,arial; font-size:0.95em;}
#token_auth {
background-color:#E8FFE9;