$path
$path :
Path to Folder.
Folder structure browser, lists folders and files.
Long description for class
read( sort = true, exceptions = false) :
Returns an array of the contents of the current directory, or false on failure.
The returned array holds two arrays: one of dirs and one of files.
sort | ||
exceptions | either an array or boolean true will no grab dot files |
Contents of current directory as an array, false on failure
chmod( path, bool|int mode = false, recursive = true, mixed||string|int exceptions = array()) :
Change the mode on a directory structure recursively.
path | The path to chmod |
|
bool|int | mode | octal value 0755 |
recursive | chmod recursively |
|
mixed||string|int | exceptions | array of files, directories to skip |
Returns TRUE on success, FALSE on failure
tree( path, hidden = true, type = null) :
Returns an array of nested directories and files in each directory
path | the directory path to build the tree from |
|
hidden | return hidden files and directories |
|
type | either file or dir. null returns both files and directories |
array of nested directories and files in each directory