TwistPHP Documentation

respond

File path: dist/twist/Twist.php
Namespace: \
Extends:

respondRespond with a HTTP status page, pass in the status code that you require

Parameters

Name Type Description
$intResponseCodeintegern/a
[$strCustomDescription = null]stringn/a
[$blExitOnComplete = true]booleann/a

Return Values

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

Example

<?php
//Set the variables for the example
$intResponseCode 124;
$strCustomDescription null;
$blExitOnComplete true;

//Call the function respond with the example vars
Twist::Twist() -> respond($intResponseCode$strCustomDescription$blExitOnComplete);