File path: dist/twist/Core/Utilities/Route.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
findURI
— Check 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)
Name | Description |
---|---|
$arrURIs | n/a |
$strCurrentURI | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$arrURIs = array(0 => 'foo', 1 => 'bar');
$strCurrentURI = 'foo';
//Call the function findURI with the example vars
Twist::Route() -> findURI($arrURIs, $strCurrentURI);