public function renderWidgetContainer()
    {
        Piwik::checkUserHasSomeViewAccess();
        $this->checkSitePermission();

        $view = new View('@CoreHome/widgetContainer');
        $view->isWidgetized = (bool) Common::getRequestVar('widget', 0, 'int');
        $view->containerId  = Common::getRequestVar('containerId', null, 'string');

        return $view->render();
    }
public function renderWidgetContainer()
    {
        Piwik::checkUserHasSomeViewAccess();
        $this->checkSitePermission();

        $view = new View('@CoreHome/widgetContainer');
        $view->isWidgetized = (bool) Common::getRequestVar('widget', 0, 'int');
        $view->containerId  = Common::getRequestVar('containerId', null, 'string');

        return $view->render();
    }
public function renderWidgetContainer ( ) { Piwik :: checkUserHasSomeViewAccess ( ) ; $ this -> checkSitePermission ( ) ; $ view = new View ( '@CoreHome/widgetContainer' ) ; $ view -> isWidgetized = ( bool ) Common :: getRequestVar ( 'widget' , 0 , 'int' ) ; $ view -> containerId = Common :: getRequestVar ( 'containerId' , null , 'string' ) ; return $ view -> render ( ) ; }
This is only used for exported widgets
@return string
@throws Exception
@throws \Piwik\NoAccessException
This is only used for exported widgets