File path: dist/twist/Core/Utilities/File.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
findVersion
— Find a file in a directory when there is multiple of the same file with many different version numbers.
Name | Description |
---|---|
$strDirectory | n/a |
$strFilePrefix | n/a |
[$strVersion = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strDirectory = 'foo';
$strFilePrefix = 'foo';
$strVersion = null;
//Call the function findVersion with the example vars
Twist::File() -> findVersion($strDirectory, $strFilePrefix, $strVersion);