Checks that a value is numeric (integral or decimal) and within a given inclusive range
This is the code documentation for the SproutCMS project
Search documentation |
function range()Checks that a value is numeric (integral or decimal) and within a given inclusive range
Usagevoid Validity::range ( string $val , number $min , number $max ); Example$valid->check('cost', 'Validity::range', 0, 5000) Arguments
Exceptions thrownReturn value
|
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |