Method |
Description |
|
_rglob ( string $path, string $match = '', &$result = [] ) : array |
Return an array with all matched files from root folder. |
|
append ( string $data, string $filename ) : boolean |
Append data to a file and return TRUE on successfully, FALSE otherwise. |
|
ext ( string $filename ) : string |
Return the extension of a filename |
|
fileSize ( string $filename, integer $precision = 2 ) : string | boolean |
Return the file size (B, KiB, MiB, GiB, TiB, PiB, EiB, ZiB, YiB) well formatted. Return FALSE if file doesn't
exists or filesize() failure. |
|
filename ( string $filename ) : string |
Return the only filename part. if a filename is 'test.black.jpg' will return 'test.black' |
|
recursiveScan ( string $path, string $match = '' ) : array |
Return an array with all matched files from root folder. This method release the follow filters: |
|