TwistPHP Documentation

setError

File path: dist/twist/Core/Models/Database/ProtocolJSON.model.php
Namespace: Twist\Core\Models\Database
Extends:

setError

Parameters

Name Type Description
$intNumberintegern/a
$strMessagestringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$intNumber 124;
$strMessage 'foo';

//Call the function setError with the example vars
$resProtocolJSON = new \Twist\Core\Models\Database\ProtocolJSON();
$resProtocolJSON -> setError($intNumber$strMessage);