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) {
An exception for terminatinating execution or to throw for unit testing.
File System Explorer GUI class.
getTable($a_dir, $a_subdir)
Get table.
deleteFile()
delete object file we can pass one parameter to deleteFile in fileSystemGUI, that contains the name o...
renameFile()
Rename File name.
uploadFile()
Insert into database the file order and update the file.
saveFilesOrder()
Save all the orders.
__construct($a_main_directory)
File System Explorer GUI class.
static instructionFileInsertOrder($a_filename, $a_ass_id, $a_order_nr=0)
Store the file order in the database.
static saveInstructionFilesOrderOfAssignment($a_ass_id, $a_order)
Save ordering of instruction files for an assignment.
static renameInstructionFile($a_old_name, $a_new_name, $a_ass_id)
static instructionFileDeleteOrder($a_ass_id, $a_file)
File System Explorer GUI class.
getTableId()
Get table id.
getPostDirPath()
Get post dir path.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc