3 include_once(
'./Services/FileSystem/classes/class.ilFileSystemGUI.php');
19 $this->ctrl = $DIC->ctrl();
20 parent::__construct($a_main_directory);
31 include_once(
"./Modules/Exercise/classes/class.ilExAssignmentFileSystemTableGUI.php");
67 if (
$_GET[
"ass_id"]) {
69 $ilCtrl->redirect($this,
"listFiles");
80 if (
$_GET[
"ass_id"]) {
92 if (
$_GET[
"ass_id"]) {
94 $old_name = str_replace(
"/",
"",
$_GET[
"old_name"]);
96 if ($new_name != $old_name) {
100 parent::renameFile();
renameFile()
Rename File name.
uploadFile()
Insert into database the file order and update the file.
File System Explorer GUI class.
getTableId()
Get table id.
static instructionFileInsertOrder($a_filename, $a_ass_id, $a_order_nr=0)
Store the file order in the database.
deleteFile()
delete object file we can pass one parameter to deleteFile in fileSystemGUI, that contains the name o...
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
__construct($a_main_directory)
getTable($a_dir, $a_subdir)
Get table.
getPostDirPath()
Get post dir path.
static saveInstructionFilesOrderOfAssignment($a_ass_id, $a_order)
Save ordering of instruction files for an assignment.
saveFilesOrder()
Save all the orders.
File System Explorer GUI class.
File System Explorer GUI class.
static renameInstructionFile($a_old_name, $a_new_name, $a_ass_id)
static instructionFileDeleteOrder($a_ass_id, $a_file)