TwistPHP Documentation

findURI

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

findURICheck to see if a URI is present in an array od URIs, the key must be the URI and the value can either be 1 (denotes wildcard check enabled) or 0 (no wildcard check)

Parameters

Name Type Description
$arrURIsarrayn/a
$strCurrentURIstringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$arrURIs = array(=> 'foo'=> 'bar');
$strCurrentURI 'foo';

//Call the function findURI with the example vars
Twist::Route() -> findURI($arrURIs$strCurrentURI);