protected function shouldProcessReportsForPlugin($pluginName)
    {
        if ($this->params->getRequestedPlugin() == $pluginName) {
            return true;
        }

        if ($this->params->shouldOnlyArchiveRequestedPlugin()) {
            return false;
        }

        if (Rules::shouldProcessReportsAllPlugins(
            $this->params->getIdSites(),
            $this->params->getSegment(),
            $this->params->getPeriod()->getLabel())) {
            return true;
        }

        if (!\Piwik\Plugin\Manager::getInstance()->isPluginLoaded($this->params->getRequestedPlugin())) {
            return true;
        }
        return false;
    }
protected function shouldProcessReportsForPlugin($pluginName)
    {
        if ($this->params->getRequestedPlugin() == $pluginName) {
            return true;
        }

        if ($this->params->shouldOnlyArchiveRequestedPlugin()) {
            return false;
        }

        if (Rules::shouldProcessReportsAllPlugins(
            $this->params->getIdSites(),
            $this->params->getSegment(),
            $this->params->getPeriod()->getLabel())) {
            return true;
        }

        if (!\Piwik\Plugin\Manager::getInstance()->isPluginLoaded($this->params->getRequestedPlugin())) {
            return true;
        }
        return false;
    }
protected function shouldProcessReportsForPlugin ( $ pluginName ) { if ( $ this -> params -> getRequestedPlugin ( ) == $ pluginName ) { return true ; } if ( $ this -> params -> shouldOnlyArchiveRequestedPlugin ( ) ) { return false ; } if ( Rules :: shouldProcessReportsAllPlugins ( $ this -> params -> getIdSites ( ) , $ this -> params -> getSegment ( ) , $ this -> params -> getPeriod ( ) -> getLabel ( ) ) ) { return true ; } if ( ! \ Piwik \ Plugin \ Manager :: getInstance ( ) -> isPluginLoaded ( $ this -> params -> getRequestedPlugin ( ) ) ) { return true ; } return false ; }
Whether the specified plugin's reports should be archived
@param string $pluginName
@return bool
Whether the specified plugin s reports should be archived