File path: dist/twist/Core/Controllers/Base.controller.php
Namespace: Twist\Core\Controllers
_response
— Halts all scripts and outputs the desired error page by response code (for example 404 or 403) to the screen.
Name | Description |
---|---|
$intError | n/a |
[$strCustomDescription = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intError = 124;
$strCustomDescription = null;
//Call the function _response with the example vars
$resBase = new \Twist\Core\Controllers\Base();
$resBase -> _response($intError, $strCustomDescription);