TwistPHP Documentation

_route

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

_routeReturns either a single item (if key passed in) from the route array otherwise returns the whole array.

Parameters

Name Type Description
[$strReturnKey = null]stringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strReturnKey null;

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