메소드 |
설명 |
|
__construct ( string $dir, boolean $full = false, boolean $rec = false, boolean $dirs = true ) : Dir |
Constructor |
|
emptyDir ( string $path = null, boolean $del = false ) : void |
Empty an entire directory. |
|
getFiles ( ) : array |
Get the files. |
|
getGroup ( ) : array |
Get the owner of the file. Works on POSIX file systems only |
|
getObjects ( ) : array |
Get the files as objects. |
|
getOwner ( ) : array |
Get the owner of the file. Works on POSIX file systems only |
|
getPath ( ) : string |
Get the path. |
|
getPermissions ( ) : string |
Get the permissions of the directory. |
|
getSystemTemp ( ) : string |
Static method to return the system temp directory. |
|
getTree ( ) : array |
Get the tree. |
|
getUploadTemp ( ) : string |
Static method to return the upload temp directory. |
|
getUser ( ) : array |
Get current user. Works on POSIX file systems only |
|
isDir ( ) : boolean |
Is dir object. |
|
isFile ( ) : boolean |
Is file object. |
|
setPermissions ( integer $mode ) : Dir |
Change the permissions of the directory. |
|