Piwik\Plugins\Goals\Controller::widgetGoalReport PHP Метод

widgetGoalReport() публичный Метод

Устаревший: used to be a widgetized URL. There to not break widget URLs
public widgetGoalReport ( )
    public function widgetGoalReport()
    {
        $idGoal = Common::getRequestVar('idGoal', '', 'string');
        if ($idGoal === Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_ORDER) {
            $_GET['containerId'] = 'EcommerceOverview';
        } elseif (!empty($idGoal)) {
            $_GET['containerId'] = 'Goal_' . (int) $idGoal;
        } else {
            return '';
        }
        return FrontController::getInstance()->fetchDispatch('CoreHome', 'renderWidgetContainer');
    }