File path: dist/twist/Core/Models/Resources.model.php
Namespace: Twist\Core\Models
applyPath
— Apply the correct URI to a resource based on its resource directory path.
Name | Description |
---|---|
$arrParameters | n/a |
$dirResourcePath | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$arrParameters = array(0 => 'foo', 1 => 'bar');
$dirResourcePath = '/home/user/public_html/twist';
//Call the function applyPath with the example vars
$resResources = new \Twist\Core\Models\Resources();
$resResources -> applyPath($arrParameters, $dirResourcePath);