16 $this->ctrl = $DIC->ctrl();
63 if (
$_GET[
"ass_id"]) {
65 $ilCtrl->redirect($this,
"listFiles");
76 if (
$_GET[
"ass_id"]) {
88 if (
$_GET[
"ass_id"]) {
90 $old_name = str_replace(
"/",
"",
$_GET[
"old_name"]);
92 if ($new_name != $old_name) {
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.
__construct(Container $dic, ilPlugin $plugin)
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)