TwistPHP Documentation

traverseURI

File path: dist/twist/Core/Models/Tools.model.php
Namespace: Twist\Core\Models
Extends:

traverseURITraverse the current URI in $_SERVER['REQUEST_URI'] or pass in a starting URI

Parameters

Name Type Description
$urlRelativePathstringn/a
[$urlStartingURI = null]stringn/a
[$blPreserveQueryString = false]booleann/a

Return Values

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

Example

<?php
//Set the variables for the example
$urlRelativePath = ;
$urlStartingURI null;
$blPreserveQueryString false;

//Call the function traverseURI with the example vars
$resTools = new \Twist\Core\Models\Tools();
$resTools -> traverseURI($urlRelativePath$urlStartingURI$blPreserveQueryString);