File path: dist/twist/Core/Models/Validate/Validator.model.php
Namespace: Twist\Core\Models\Validate
checkString
—
Name | Description |
---|---|
$strKey | 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';
$blAllowBlank = false;
$blRequired = true;
$blTrim = true;
//Call the function checkString with the example vars
$resValidator = new \Twist\Core\Models\Validate\Validator();
$resValidator -> checkString($strKey, $blAllowBlank, $blRequired, $blTrim);