Piwik\Plugins\WebsiteMeasurable\MeasurableSettings::init PHP Method

init() protected method

protected init ( )
    protected function init()
    {
        $this->urls = new Urls($this->idSite);
        $this->addSetting($this->urls);
        $this->excludeKnownUrls = $this->makeExcludeUnknownUrls();
        $this->keepPageUrlFragments = $this->makeKeepUrlFragments($this->sitesManagerApi);
        $this->excludedIps = $this->makeExcludeIps();
        $this->excludedParameters = $this->makeExcludedParameters();
        $this->excludedUserAgents = $this->makeExcludedUserAgents();
        /**
         * SiteSearch
         */
        $this->siteSearch = $this->makeSiteSearch();
        $this->useDefaultSiteSearchParams = $this->makeUseDefaultSiteSearchParams($this->sitesManagerApi);
        $this->siteSearchKeywords = $this->makeSiteSearchKeywords();
        $siteSearchKeywords = $this->siteSearchKeywords->getValue();
        $this->useDefaultSiteSearchParams->setDefaultValue(empty($siteSearchKeywords));
        $this->siteSearchCategory = $this->makeSiteSearchCategory($this->pluginManager);
        /**
         * SiteSearch End
         */
        $this->ecommerce = $this->makeEcommerce();
    }