File path: dist/twist/Core/Controllers/Base.controller.php
Namespace: Twist\Core\Controllers
_var
— Get a Route URI var from the route vars, passing in null will return the whole array of route vars.
Name | Description |
---|---|
[$strVarKey = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strVarKey = null;
//Call the function _var with the example vars
$resBase = new \Twist\Core\Controllers\Base();
$resBase -> _var($strVarKey);