TwistPHP Documentation

baseView

File path: dist/twist/Core/Utilities/Route.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

baseViewSet a path to the base view that you wish to wrap the output of the route with

Parameters

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

Return Values

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

Example

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

//Call the function baseView with the example vars
Twist::Route() -> baseView($dirViewFile);