File path: dist/twist/Core/Utilities/Validate.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
integer
— Validate an integer, optionally you can pass in a min and max range for further validation
Name | Description |
---|---|
$intInteger | n/a |
[$intRangeMin = null] | n/a |
[$intRangeMax = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intInteger = 124;
$intRangeMin = null;
$intRangeMax = null;
//Call the function integer with the example vars
Twist::Validate() -> integer($intInteger, $intRangeMin, $intRangeMax);