TwistPHP Documentation

deleteView

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

deleteViewAdd a view that will only be called upon a DELETE request (HTTP METHOD) to the given URI

Parameters

Name Type Description
$strURIstringn/a
$dirViewstringn/a
[$mxdBaseView = true]mixedn/a
[$mxdCache = false]mixedn/a
[$arrData = array()]arrayn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strURI 'foo';
$dirView '/home/user/public_html/twist';
$mxdBaseView true;
$mxdCache false;
$arrData = array();

//Call the function deleteView with the example vars
Twist::Route() -> deleteView($strURI$dirView$mxdBaseView$mxdCache$arrData);