TwistPHP Documentation

_view

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

_viewProcess a view template file and return the output.

Parameters

Name Type Description
$dirViewstringn/a
[$arrViewTags = null]arrayn/a
[$blRemoveUnusedTags = false]booleann/a

Return Values

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

Example

<?php
//Set the variables for the example
$dirView '/home/user/public_html/twist';
$arrViewTags null;
$blRemoveUnusedTags false;

//Call the function _view with the example vars
$resBase = new \Twist\Core\Controllers\Base();
$resBase -> _view($dirView$arrViewTags$blRemoveUnusedTags);