File path: dist/twist/Core/Controllers/Base.controller.php
Namespace: Twist\Core\Controllers
_extended
— A function that is called by Routes both to ensure that the controller has been extended and so that we can pass in resources and information required by the controller.
Name | Description |
---|---|
$resRoute | n/a |
$arrRouteData | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$resRoute = (resource);
$arrRouteData = array(0 => 'foo', 1 => 'bar');
//Call the function _extended with the example vars
$resBase = new \Twist\Core\Controllers\Base();
$resBase -> _extended($resRoute, $arrRouteData);