TwistPHP Documentation

_callFunction

File path: dist/twist/Core/Controllers/Base.controller.php
Namespace: Twist\Core\Controllers
Extends:

_callFunctionFunction to call any controller response with the correct method prefix if any has been setup. If the response function is not found a 404 page will be output.

Parameters

Name Type Description
$strCallFunctionNamestringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strCallFunctionName 'foo';

//Call the function _callFunction with the example vars
$resBase = new \Twist\Core\Controllers\Base();
$resBase -> _callFunction($strCallFunctionName);