Home
last modified time | relevance | path

Searched refs:valids (Results 1 – 1 of 1) sorted by path

/dokuwiki/inc/Input/
H A DInput.php195 * are always strings) however the function will return the correct type from the $valids
199 * @param array $valids Array of valid values
203 public function valid($name, $valids, $default = null)
208 $found = array_search($value, $valids);
209 if ($found !== false) return $valids[$found]; // return the valid value for type safety
204 valid($name, $valids, $default = null) global() argument