See {@link \Piwik\Settings\Setting}.
Наследование: extends Piwik\Settings\Setting
Пример #1
0
 /**
  * This is only meant for some core features used by some core plugins that are shipped with Piwik
  * @internal
  * @ignore
  * @param string $configSectionName
  * @param $name
  * @param $defaultValue
  * @param $type
  * @param $fieldConfigCallback
  * @return SystemSetting
  * @throws \Exception
  */
 protected function makeSettingManagedInConfigOnly($configSectionName, $name, $defaultValue, $type, $fieldConfigCallback)
 {
     $setting = new SystemConfigSetting($name, $defaultValue, $type, $this->pluginName, $configSectionName);
     $setting->setConfigureCallback($fieldConfigCallback);
     $this->addSetting($setting);
     return $setting;
 }