TwistPHP Documentation

testResult

File path: dist/twist/Core/Models/Validate/Validator.model.php
Namespace: Twist\Core\Models\Validate
Extends:

testResult

Parameters

Name Type Description
$strKeystringn/a
$blStatusbooleann/a
$strMessagestringn/a
[$strErrorType = 'pass']stringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strKey 'foo';
$blStatus true;
$strMessage 'foo';
$strErrorType 'pass';

//Call the function testResult with the example vars
$resValidator = new \Twist\Core\Models\Validate\Validator();
$resValidator -> testResult($strKey$blStatus$strMessage$strErrorType);