File path: dist/twist/Core/Utilities/File.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
sanitizeName
— Sanitize a file name to make it more user friendly. Also helps to prevent errors and make a much cleaner file system.
Name | Description |
---|---|
$strFilename | n/a |
[$blIsFilename = true] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strFilename = 'foo';
$blIsFilename = true;
//Call the function sanitizeName with the example vars
Twist::File() -> sanitizeName($strFilename, $blIsFilename);