Lines Matching defs:key
13 protected $key = '';
37 * @param string $key
40 public function __construct($key, $params = null)
42 $this->key = $key;
53 * Set the current values for the setting $key
127 * Get this setting's unique key
133 return $this->key;
137 * Get the key of this setting marked up human readable
144 $out = str_replace(Configuration::KEYMARKER, "ยป", $this->key);
157 * Returns setting key as an array key separator
161 * @return string key
165 return str_replace(Configuration::KEYMARKER, "']['", $this->key);
210 $key = htmlspecialchars($this->key);
213 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>';
214 $input = '<textarea rows="3" cols="40" id="config___' . $key .
215 '" name="config[' . $key . ']" class="edit" ' . $disable . '>' . $value . '</textarea>';
276 $prompt = $plugin->getLang($this->key);
277 if (!$prompt) $prompt = htmlspecialchars(str_replace(['____', '_'], ' ', $this->key));
321 'Invalid caution string (' . $this->caution . ') in metadata for setting "' . $this->key . '"'