Method |
Description |
|
commonConfirmDeleteDir ( string $path, string $cabin ) |
Confirm directory deletion |
|
commonConfirmDeleteFile ( string $file, string $path, string $cabin ) |
Confirm file deletion |
|
commonGetFileInfo ( string $file, string $path, string $cabin ) |
Get information about a file |
|
commonIndex ( string $path, string $cabin ) |
Process the landing page. |
|
commonMoveDir ( string $path, string $cabin ) |
Move/Rename a directory |
|
commonMoveFile ( string $file, string $path, string $cabin ) |
Move/rename a file |
|
createDir ( integer $directoryId = null, string $cabin = '', array $post = [] ) : array |
Create a new directory for file uploads |
|
determinePath ( string &$cabin ) : string |
Don't break on bad Apache/nginx configuration (which is common) |
|
getPath ( string $path ) : array |
Given a string (and a predetermined current root directory), get
a sequence of folder names to determine the current path |
|
loadCommonData ( string $path, string $cabin ) : array |
Reduce code duplication |
|
permCheck ( ) : boolean |
Permissions check -- override this in base classes |
|
uploadFiles ( integer $directoryId = null, string $cabin = '' ) : array |
Upload files |
|