Checks a value is one of the allowed values
This is the code documentation for the SproutCMS project
Search documentation |
function inArray()Checks a value is one of the allowed values
Usagevoid Validity::inArray ( string $val , array $allowed ); Example$valid->check('vowel', 'Validity::inArray', ['a', 'e', 'i', 'o', 'u']) Arguments
Exceptions thrownReturn value
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|