TwistPHP Documentation


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)


Name Type Description

Return Values

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


//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);