Piwik\Plugins\Dashboard\Controller::_getDashboardView PHP Метод

_getDashboardView() защищенный Метод

protected _getDashboardView ( $template )
    protected function _getDashboardView($template)
    {
        $view = new View($template);
        $this->setGeneralVariablesView($view);
        $view->availableLayouts = $this->getAvailableLayouts();
        $view->dashboardId = Common::getRequestVar('idDashboard', 1, 'int');
        return $view;
    }