|
ILIAS
Release_4_2_x_branch Revision 61807
|
File System Explorer GUI class. More...
Collaboration diagram for ilFileSystemGUI:Public Member Functions | |
| ilFileSystemGUI ($a_main_directory) | |
| setAllowDirectories ($a_val) | |
| Set allow directories. | |
| getAllowDirectories () | |
| Get allow directories. | |
| setPostDirPath ($a_val) | |
| Set post dir path. | |
| getPostDirPath () | |
| Get post dir path. | |
| setTableId ($a_val) | |
| Set table id. | |
| getTableId () | |
| Get table id. | |
| setTitle ($a_val) | |
| Set title. | |
| getTitle () | |
| Get title. | |
| getLastPerformedCommand () | |
| Get performed command. | |
| & | executeCommand () |
| execute command | |
| addCommand (&$a_obj, $a_func, $a_name, $a_single=true, $a_allow_dir=false) | |
| Add command. | |
| clearCommands () | |
| Clear commands. | |
| labelFile ($a_file, $a_label) | |
| label a file | |
| activateLabels ($a_act, $a_label_header) | |
| activate file labels | |
| & | extCommand ($a_nr) |
| call external command | |
| setAllowDirectoryCreation ($a_val) | |
| Set allowed directory creation. | |
| getAllowDirectoryCreation () | |
| Get allowed directory creation. | |
| setAllowFileCreation ($a_val) | |
| Set allowed file creation. | |
| getAllowFileCreation () | |
| Get allowed file creation. | |
| listFiles () | |
| list files | |
| renameFileForm () | |
| list files | |
| renameFile () | |
| rename a file | |
| cancelRename () | |
| cancel renaming a file | |
| createDirectory () | |
| create directory | |
| uploadFile () | |
| upload file | |
| confirmDeleteFile () | |
| Confirm file deletion. | |
| deleteFile () | |
| delete object file | |
| unzipFile () | |
| delete object file | |
| downloadFile () | |
| delete object file | |
| getTabs (&$tabs_gui) | |
| get tabs | |
Data Fields | |
| $ctrl | |
Protected Member Functions | |
| setPerformedCommand ($command, $pars="") | |
| Set performed command. | |
File System Explorer GUI class.
-> This class should go to Services/FileSystemStorage
Definition at line 13 of file class.ilFileSystemGUI.php.
| ilFileSystemGUI::activateLabels | ( | $a_act, | |
| $a_label_header | |||
| ) |
activate file labels
Definition at line 237 of file class.ilFileSystemGUI.php.
Referenced by ilObjFileBasedLMGUI\executeCommand(), and ilObjMediaObjectGUI\executeCommand().
Here is the caller graph for this function:| ilFileSystemGUI::addCommand | ( | & | $a_obj, |
| $a_func, | |||
| $a_name, | |||
$a_single = true, |
|||
$a_allow_dir = false |
|||
| ) |
Add command.
Definition at line 204 of file class.ilFileSystemGUI.php.
| ilFileSystemGUI::cancelRename | ( | ) |
cancel renaming a file
Definition at line 531 of file class.ilFileSystemGUI.php.
| ilFileSystemGUI::clearCommands | ( | ) |
Clear commands.
Definition at line 221 of file class.ilFileSystemGUI.php.
| ilFileSystemGUI::confirmDeleteFile | ( | ) |
Confirm file deletion.
Definition at line 628 of file class.ilFileSystemGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, and ilUtil\sendFailure().
Here is the call graph for this function:| ilFileSystemGUI::createDirectory | ( | ) |
create directory
Definition at line 539 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $lng, ilUtil\makeDir(), ilUtil\sendFailure(), ilUtil\sendSuccess(), setPerformedCommand(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilFileSystemGUI::deleteFile | ( | ) |
delete object file
Definition at line 658 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $file, $lng, ilUtil\delDir(), ilUtil\sendSuccess(), setPerformedCommand(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilFileSystemGUI::downloadFile | ( | ) |
delete object file
Definition at line 754 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $file, $valid, ilUtil\deliverFile(), exit, ilUtil\getDir(), and ilUtil\stripSlashes().
Here is the call graph for this function:| & ilFileSystemGUI::executeCommand | ( | ) |
execute command
Definition at line 177 of file class.ilFileSystemGUI.php.
References $cmd, $ret, and extCommand().
Here is the call graph for this function:| & ilFileSystemGUI::extCommand | ( | $a_nr | ) |
call external command
Definition at line 246 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $file, $files, and ilUtil\stripSlashes().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFileSystemGUI::getAllowDirectories | ( | ) |
Get allow directories.
Definition at line 81 of file class.ilFileSystemGUI.php.
Referenced by listFiles(), and unzipFile().
Here is the caller graph for this function:| ilFileSystemGUI::getAllowDirectoryCreation | ( | ) |
Get allowed directory creation.
Definition at line 312 of file class.ilFileSystemGUI.php.
Referenced by listFiles().
Here is the caller graph for this function:| ilFileSystemGUI::getAllowFileCreation | ( | ) |
Get allowed file creation.
Definition at line 328 of file class.ilFileSystemGUI.php.
Referenced by listFiles().
Here is the caller graph for this function:| ilFileSystemGUI::getLastPerformedCommand | ( | ) |
| ilFileSystemGUI::getPostDirPath | ( | ) |
Get post dir path.
Definition at line 101 of file class.ilFileSystemGUI.php.
Referenced by listFiles().
Here is the caller graph for this function:| ilFileSystemGUI::getTableId | ( | ) |
Get table id.
Definition at line 121 of file class.ilFileSystemGUI.php.
Referenced by listFiles().
Here is the caller graph for this function:| ilFileSystemGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs
Definition at line 799 of file class.ilFileSystemGUI.php.
References $ilCtrl.
| ilFileSystemGUI::getTitle | ( | ) |
Get title.
Definition at line 141 of file class.ilFileSystemGUI.php.
References $title.
Referenced by listFiles().
Here is the caller graph for this function:| ilFileSystemGUI::ilFileSystemGUI | ( | $a_main_directory | ) |
Definition at line 17 of file class.ilFileSystemGUI.php.
References $ilCtrl, $lng, $tpl, setAllowDirectories(), setAllowDirectoryCreation(), and setAllowFileCreation().
Here is the call graph for this function:| ilFileSystemGUI::labelFile | ( | $a_file, | |
| $a_label | |||
| ) |
label a file
Definition at line 229 of file class.ilFileSystemGUI.php.
| ilFileSystemGUI::listFiles | ( | ) |
list files
Definition at line 336 of file class.ilFileSystemGUI.php.
References $_GET, $file, $files, $ilCtrl, $lng, ilUploadFiles\_getUploadDirectory(), ilUploadFiles\_getUploadFiles(), getAllowDirectories(), getAllowDirectoryCreation(), getAllowFileCreation(), getPostDirPath(), getTableId(), getTitle(), ilTextInputGUI\setMaxLength(), ilSelectInputGUI\setOptions(), ilFileInputGUI\setSize(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilFileSystemGUI::renameFile | ( | ) |
rename a file
Definition at line 494 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $dir, $lng, ilUtil\renameExecutables(), ilUtil\sendSuccess(), setPerformedCommand(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilFileSystemGUI::renameFileForm | ( | ) |
list files
Definition at line 438 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $file, $ilCtrl, $lng, ilTextInputGUI\setMaxLength(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilFileSystemGUI::setAllowDirectories | ( | $a_val | ) |
Set allow directories.
| boolean | allow directories |
Definition at line 71 of file class.ilFileSystemGUI.php.
Referenced by ilFileSystemGUI().
Here is the caller graph for this function:| ilFileSystemGUI::setAllowDirectoryCreation | ( | $a_val | ) |
Set allowed directory creation.
Definition at line 304 of file class.ilFileSystemGUI.php.
Referenced by ilFileSystemGUI().
Here is the caller graph for this function:| ilFileSystemGUI::setAllowFileCreation | ( | $a_val | ) |
Set allowed file creation.
Definition at line 320 of file class.ilFileSystemGUI.php.
Referenced by ilFileSystemGUI().
Here is the caller graph for this function:
|
protected |
Set performed command.
| string | command |
| array | parameter array |
Definition at line 152 of file class.ilFileSystemGUI.php.
References $_SESSION, and $command.
Referenced by createDirectory(), deleteFile(), renameFile(), and uploadFile().
Here is the caller graph for this function:| ilFileSystemGUI::setPostDirPath | ( | $a_val | ) |
Set post dir path.
| boolean | post dir path |
Definition at line 91 of file class.ilFileSystemGUI.php.
Referenced by ilObjMediaPoolGUI\executeCommand().
Here is the caller graph for this function:| ilFileSystemGUI::setTableId | ( | $a_val | ) |
Set table id.
| string | table id |
Definition at line 111 of file class.ilFileSystemGUI.php.
Referenced by ilObjSAHSLearningModuleGUI\executeCommand(), and ilObjExerciseGUI\executeCommand().
Here is the caller graph for this function:| ilFileSystemGUI::setTitle | ( | $a_val | ) |
Set title.
| string | title |
Definition at line 131 of file class.ilFileSystemGUI.php.
| ilFileSystemGUI::unzipFile | ( | ) |
delete object file
Definition at line 712 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $file, $lng, getAllowDirectories(), ilUtil\renameExecutables(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), and ilUtil\unzip().
Here is the call graph for this function:| ilFileSystemGUI::uploadFile | ( | ) |
upload file
Definition at line 572 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $lng, ilUploadFiles\_checkUploadFile(), ilUploadFiles\_copyUploadFile(), if, ilUtil\renameExecutables(), ilUtil\sendFailure(), ilUtil\sendSuccess(), setPerformedCommand(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilFileSystemGUI::$ctrl |
Definition at line 15 of file class.ilFileSystemGUI.php.