Lines Matching full:setting
3 namespace dokuwiki\plugin\config\core\Setting;
8 * Class Setting
10 class Setting
12 /** @var string unique identifier of this setting */
15 /** @var mixed the default value of this setting */
17 /** @var mixed the local value of this setting */
19 /** @var mixed the protected value of this setting */
28 protected $caution; // used by any setting to provide an alert along with the setting
35 * @see initialize() to set the actual value of the setting
38 * @param array|null $params array with metadata of setting
53 * Set the current values for the setting $key
55 * This is used to initialize the setting with the data read form the config files.
58 * @param mixed $default default setting value
59 * @param mixed $local local setting value
60 * @param mixed $protected protected setting value
70 * update changed setting with validated user provided value $input
93 // update local copy of this setting with new value
96 // setting ready for update
127 * Get this setting's unique key
137 * Get the key of this setting marked up human readable
157 * Returns setting key as an array key separator
191 * Build html for label and input of setting
194 * @param bool $echo true: show inputted value, when error occurred, otherwise the stored setting
246 * Generate string to save local setting value to file according to $fmt
282 * Is setting protected
292 * Is setting the default?
319 if (!in_array($this->caution, Setting::$validCautions)) {
321 'Invalid caution string (' . $this->caution . ') in metadata for setting "' . $this->key . '"'