Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Widgets.php « CoreHome « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c2bfc76448692f69eaf50a54a141347eacea6da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
 * Piwik - free/libre analytics platform
 *
 * @link http://piwik.org
 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 *
 */
namespace Piwik\Plugins\CoreHome;

use Piwik\WidgetsList;

class Widgets extends \Piwik\Plugin\Widgets
{
    public function configure(WidgetsList $widgetsList)
    {
        $category   = 'Example Widgets';
        $controller = 'CoreHome';

        $widgetsList->add($category, 'CoreHome_SupportPiwik', $controller, 'getDonateForm');
        $widgetsList->add($category, 'Installation_Welcome', $controller, 'getPromoVideo');
    }

}