Lines Matching full:setting
13 use dokuwiki\plugin\config\core\Setting\Setting;
14 use dokuwiki\plugin\config\core\Setting\SettingFieldset;
15 use dokuwiki\plugin\config\core\Setting\SettingHidden;
102 foreach ($this->configuration->getSettings() as $setting) {
103 if ($setting instanceof SettingHidden) {
105 } elseif ($setting instanceof SettingFieldset) {
106 // config setting group
114 if ($first_plugin_fieldset && $setting->getType() == 'plugin') {
117 } elseif ($first_template_fieldset && $setting->getType() == 'template') {
121 echo '<fieldset id="' . $setting->getKey() . '">';
122 echo '<legend>' . $setting->prompt($this) . '</legend>';
127 [$label, $input] = $setting->html($this, $this->hasErrors);
129 $class = $setting->isDefault()
131 : ($setting->isProtected() ? ' class="protected"' : '');
132 $error = $setting->hasError()
135 $icon = $setting->caution()
136 ? '<img src="' . self::IMGDIR . $setting->caution() . '.png" ' .
137 'alt="' . $setting->caution() . '" title="' . $this->getLang($setting->caution()) . '" />'
142 echo '<span class="outkey">' . $setting->getPrettyKey() . '</span>';
162 * @param Setting $a
163 * @param Setting $b
176 foreach ($undefined_settings as $setting) {
177 [$label, $input] = $setting->html($this);
233 foreach ($this->configuration->getSettings() as $setting) {
234 if ($setting instanceof SettingFieldset) {
235 $labels[$setting->getType()][] = $setting;
255 foreach ($labels[$section] as $setting) {
256 /** @var SettingFieldset $setting */
257 $name = $setting->prompt($this);
258 $toc[] = html_mktocitem($setting->getKey(), $name, 2);