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

init() protected method

protected init ( )
    protected function init()
    {
        if ($this->hasMeasurableType(MobileAppType::ID)) {
            // this setting will be only shown for mobile apps
            $this->appId = $this->makeAppIdSetting();
        }
        $this->contactEmails = $this->makeContactEmailsSetting();
    }