File path: dist/twist/Core/Models/Validate/Validator.model.php
Namespace: Twist\Core\Models\Validate
checkInteger
—
Name | Description |
---|---|
$strKey | n/a |
[$intRangeMin = null] | n/a |
[$intRangeMax = null] | n/a |
[$blAllowBlank = false] | n/a |
[$blRequired = true] | n/a |
[$blTrim = true] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strKey = 'foo';
$intRangeMin = null;
$intRangeMax = null;
$blAllowBlank = false;
$blRequired = true;
$blTrim = true;
//Call the function checkInteger with the example vars
$resValidator = new \Twist\Core\Models\Validate\Validator();
$resValidator -> checkInteger($strKey, $intRangeMin, $intRangeMax, $blAllowBlank, $blRequired, $blTrim);