Solar_Filter_ValidateNotInKeys::validateNotInKeys()
public
bool
Solar_Filter_ValidateNotInKeys::validateNotInKeys
( mixed $value
, array $array
)
Validates that a value is not a key in the list of allowed options.
Parameters
(mixed)
$value
: The value to validate.(array)
$array
: An array of disallowed options.
Returns
(bool) True if valid, false if not.
Description
Validates that a value is not a key in the list of allowed options.
Given an array (second parameter), the value (first parameter) must not match any the array keys.