1<?php
2/**
3 * Matomo - free/libre analytics platform
4 *
5 * @link     https://matomo.org
6 * @license  http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
7 */
8namespace Piwik\Plugins\Dashboard;
9
10use Piwik\View\UIControl;
11
12/**
13 * Generates the HTML for the dashboard manager control.
14 */
15abstract class DashboardSettingsControlBase extends UIControl
16{
17    const TEMPLATE = "@Dashboard/_dashboardSettings";
18
19    /**
20     * Constructor.
21     */
22    public function __construct()
23    {
24        parent::__construct();
25
26        $this->cssClass = "borderedControl piwikTopControl dashboardSettings";
27        $this->htmlAttributes = array('piwik-expand-on-click' => '');
28        $this->dashboardActions = array();
29        $this->generalActions = array();
30    }
31}