ILIAS
Release_4_0_x_branch Revision 61816
|
File System Explorer GUI class. More...
Public Member Functions | |
ilFileSystemGUI ($a_main_directory) | |
setTableId ($a_val) | |
Set table id. | |
getTableId () | |
Get table id. | |
& | executeCommand () |
execute command | |
addCommand (&$a_obj, $a_func, $a_name) | |
add command | |
labelFile ($a_file, $a_label) | |
label a file | |
activateLabels ($a_act, $a_label_header) | |
activate file labels | |
& | extCommand ($a_nr) |
call external command | |
listFiles () | |
list files | |
renameFileForm () | |
list files | |
renameFile () | |
rename a file | |
cancelRename () | |
cancel renaming a file | |
createDirectory () | |
create directory | |
uploadFile () | |
upload file | |
deleteFile () | |
delete object file | |
unzipFile () | |
delete object file | |
downloadFile () | |
delete object file | |
getTabs (&$tabs_gui) | |
get tabs |
Data Fields | |
$ctrl |
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 107 of file class.ilFileSystemGUI.php.
Referenced by ilObjFileBasedLMGUI\executeCommand(), and ilObjMediaObjectGUI\executeCommand().
ilFileSystemGUI::addCommand | ( | & | $a_obj, |
$a_func, | |||
$a_name | |||
) |
add command
Definition at line 84 of file class.ilFileSystemGUI.php.
ilFileSystemGUI::cancelRename | ( | ) |
cancel renaming a file
Definition at line 523 of file class.ilFileSystemGUI.php.
ilFileSystemGUI::createDirectory | ( | ) |
create directory
Definition at line 531 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $lng, ilUtil\makeDir(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilFileSystemGUI::deleteFile | ( | ) |
delete object file
Definition at line 615 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $file, $lng, ilUtil\delDir(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilFileSystemGUI::downloadFile | ( | ) |
delete object file
Definition at line 700 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $file, ilUtil\deliverFile(), exit, and ilUtil\stripSlashes().
& ilFileSystemGUI::executeCommand | ( | ) |
execute command
Definition at line 57 of file class.ilFileSystemGUI.php.
References $cmd, $ret, and extCommand().
& ilFileSystemGUI::extCommand | ( | $a_nr | ) |
call external command
Definition at line 116 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $file, $method, and ilUtil\stripSlashes().
Referenced by executeCommand().
ilFileSystemGUI::getTableId | ( | ) |
Get table id.
Definition at line 49 of file class.ilFileSystemGUI.php.
Referenced by listFiles().
ilFileSystemGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs
Definition at line 733 of file class.ilFileSystemGUI.php.
References $ilCtrl.
ilFileSystemGUI::ilFileSystemGUI | ( | $a_main_directory | ) |
Definition at line 17 of file class.ilFileSystemGUI.php.
References $ilCtrl, $lng, and $tpl.
ilFileSystemGUI::labelFile | ( | $a_file, | |
$a_label | |||
) |
label a file
Definition at line 99 of file class.ilFileSystemGUI.php.
ilFileSystemGUI::listFiles | ( | ) |
list files
Definition at line 159 of file class.ilFileSystemGUI.php.
References $_GET, $file, $files, $ilCtrl, $lng, ilUploadFiles\_getUploadDirectory(), ilUploadFiles\_getUploadFiles(), ilUtil\getDir(), ilUtil\getImagePath(), getTableId(), ilTextInputGUI\setMaxLength(), ilSelectInputGUI\setOptions(), ilFileInputGUI\setSize(), ilUtil\stripSlashes(), and ilUtil\switchColor().
ilFileSystemGUI::renameFile | ( | ) |
rename a file
Definition at line 490 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $dir, $lng, ilUtil\renameExecutables(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilFileSystemGUI::renameFileForm | ( | ) |
list files
Definition at line 442 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $file, and ilUtil\stripSlashes().
ilFileSystemGUI::setTableId | ( | $a_val | ) |
Set table id.
string | table id |
Definition at line 39 of file class.ilFileSystemGUI.php.
Referenced by ilObjSAHSLearningModuleGUI\executeCommand().
ilFileSystemGUI::unzipFile | ( | ) |
delete object file
Definition at line 665 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $file, $lng, ilUtil\renameExecutables(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), and ilUtil\unzip().
ilFileSystemGUI::uploadFile | ( | ) |
upload file
Definition at line 563 of file class.ilFileSystemGUI.php.
References $_GET, $_POST, $lng, ilUploadFiles\_checkUploadFile(), ilUploadFiles\_copyUploadFile(), elseif(), ilUtil\renameExecutables(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilFileSystemGUI::$ctrl |
Definition at line 15 of file class.ilFileSystemGUI.php.