Searched refs:valids (Results 1 – 1 of 1) sorted by last modified time
195 * are always strings) however the function will return the correct type from the $valids199 * @param array $valids Array of valid values203 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 safety204 valid($name, $valids, $default = null) global() argument