ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Static Public Member Functions | |
static | _getUploadDirectory () |
Get the directory with uploaded files. More... | |
static | _getUploadFiles () |
Get a list of readable files in the upload directory. More... | |
static | _checkUploadFile ($a_file) |
Check if a file exists in the upload directory and is readable. More... | |
static | _copyUploadFile ($a_file, $a_target, $a_raise_errors=true) |
copy an uploaded file to the target directory (including virus check) More... | |
Definition at line 33 of file class.ilUploadFiles.php.
|
static |
Check if a file exists in the upload directory and is readable.
string | file name |
Definition at line 100 of file class.ilUploadFiles.php.
References $files.
Referenced by ilObjSCORMLearningModuleGUI\newModuleVersionUpload(), ilFileSystemGUI\uploadFile(), and ilObjSAHSLearningModuleGUI\uploadObject().
|
static |
copy an uploaded file to the target directory (including virus check)
string | file name |
string | target path and name |
Definition at line 115 of file class.ilUploadFiles.php.
References $DIC, $lng, ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\virusHandling().
Referenced by ilObjSCORMLearningModuleGUI\newModuleVersionUpload(), ilFileSystemGUI\uploadFile(), and ilObjSAHSLearningModuleGUI\uploadObject().
|
static |
Get the directory with uploaded files.
The directory is configured as cont_upload_dir in the settings table. The directory must exist and have read permissions. Currently the user must have admin permissions in ILIAS. Later there may be different directories for different users/roles.
Definition at line 46 of file class.ilUploadFiles.php.
Referenced by ilObjSAHSLearningModuleGUI\initUploadForm(), ilFileSystemGUI\listFiles(), and ilObjSCORMLearningModuleGUI\newModuleVersion().
|
static |
Get a list of readable files in the upload directory.
Definition at line 71 of file class.ilUploadFiles.php.
References $files.
Referenced by ilObjSAHSLearningModuleGUI\initUploadForm(), ilFileSystemGUI\listFiles(), and ilObjSCORMLearningModuleGUI\newModuleVersion().