Property | Type | Description | |
---|---|---|---|
$_permissions | array | List of permissions and if they can be changed in this VFS |
Method | Description | |
---|---|---|
changePermissions ( string $path, string $name, string $permission ) | Changes permissions for an Item on the VFS. | |
createFolder ( string $path, string $name ) | Creates a folder on the VFS. | |
deleteFile ( string $path, string $name ) | Deletes a file from the VFS. | |
deleteFolder ( string $path, string $name, boolean $recursive = false ) | Deletes a folder from the VFS. | |
rename ( string $oldpath, string $oldname, string $newpath, string $newname ) | Renames a file or folder in the VFS. | |
writeData ( string $path, string $name, string $data, boolean $autocreate = false ) | Stores a file in the VFS from raw data. |
Method | Description | |
---|---|---|
_listFolder ( string $path, mixed $filter = null, boolean $dotfiles = true, boolean $dironly = false ) : array | Returns an an unsorted file list of the specified directory. |
protected _listFolder ( string $path, mixed $filter = null, boolean $dotfiles = true, boolean $dironly = false ) : array | ||
$path | string | The path of the directory. |
$filter | mixed | String/hash to filter file/dirname on. |
$dotfiles | boolean | Show dotfiles? |
$dironly | boolean | Show only directories? |
return | array | File list. |
public createFolder ( string $path, string $name ) | ||
$path | string | Holds the path of directory to create folder. |
$name | string | Holds the name of the new folder. |
public deleteFile ( string $path, string $name ) | ||
$path | string | The path to store the file in. |
$name | string | The filename to use. |
protected array $_permissions | ||
return | array |