File path: dist/twist/Core/Utilities/Route.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
getView
— Add a view that will only be called upon a GET request (HTTP METHOD) to the given URI
Name | Description |
---|---|
$strURI | n/a |
$dirView | n/a |
[$mxdBaseView = true] | n/a |
[$mxdCache = false] | n/a |
[$arrData = array()] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strURI = 'foo';
$dirView = '/home/user/public_html/twist';
$mxdBaseView = true;
$mxdCache = false;
$arrData = array();
//Call the function getView with the example vars
Twist::Route() -> getView($strURI, $dirView, $mxdBaseView, $mxdCache, $arrData);