TwistPHP Documentation

name

File path: dist/twist/Core/Utilities/File.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

nameGet the filename, trim off any path information that is not required.

Parameters

Name Type Description
$strFilestringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strFile 'foo';

//Call the function name with the example vars
Twist::File() -> name($strFile);