Class FileManager1
File System Management Class Class FileManager1
Located at easycore/Ehex.php
public static
array
|
#
getDirectoryFiles( $path, boolean $supplyFullPath = true, callable $callBack = null )
Get All Data in Directory and pass to callback |
public static
array|string
|
#
getDirectoriesFolders( string $path_orPaths = '.', string $prepend = '', string $append = '' )
Get Directory Folders |
public static
array
|
#
getDirectoriesFiles( string $pathList = '.', array $filterExtension = array(), array $ignoreExtension = array(), integer $fileCount = -1, boolean $recursive = false )
Get all File in derectory |
public static
array
|
#
getDirectoryFilesByExtension( $path = '', $ext = 'json' )
Get an array containing the path of all files in this repository |
public static
string
|
|
public static
mixed|string
|
|
public static
string
|
|
public static
mixed|string
|
|
public static
array
|
|
public static
array
|
|
public static
boolean
|
|
public static
null|string
|
|
public static
boolean|string
|
|
public static
boolean|string
|
|
public static
boolean
|
|
public static
|
|
public static
|
|
public static
string
|
#
relativePath( $fromHalfPath, $toFullPath, string $separator = DIRECTORY_SEPARATOR )
Return relative path between two sources |
public static
boolean
|
|
public static
boolean
|
#
generateDirectories( string $basePath = '\\', array $relativePathList = ['web'=>['js','css']] )
Generate directory structure |
public static
|
|
public static
boolean
|
|
public static
|
|
public static
|
|
public static
boolean
|
#
validateFileName( string $name, boolean $convertToSafeFilenameIfFailed = false )
Validates the name of the file to ensure it can be stored in the filesystem. |
public static
|