File path: dist/twist/Core/Models/Validate/Validator.model.php
Namespace: Twist\Core\Models\Validate
Type: Model
Validator
—
<?php
//Set the variables for the example
$strKey = 'foo';
$blAllowBlank = false;
$blRequired = true;
$blTrim = true;
//Call the function checkEmail with the example vars
$resValidator = new \Twist\Core\Models\Validate\Validator();
$resValidator -> checkEmail($strKey, $blAllowBlank, $blRequired, $blTrim);
Method | Access | Returns |
---|---|---|
checkCompare | public | void |
checkComparison | public | void |
checkEmail | public | void |
checkDomain | public | void |
checkURL | public | void |
checkIP | public | void |
checkBoolean | public | void |
checkFloat | public | void |
checkInteger | public | void |
checkString | public | void |
checkTelephone | public | void |
checkPostcode | public | void |
checkRegX | public | void |
test | public | void |
keyToText | protected | void |
success | public | void |
testResult | private | void |