ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($a_container_id=0, $a_ass_id=0) | |
Constructor. More... | |
init () | |
Append ass_<ass_id> to path (assignment id) More... | |
create () | |
Create directory. More... | |
getFiles () | |
Get assignment files. More... | |
getAssignmentFilePath ($a_file) | |
Get path for assignment file. More... | |
uploadAssignmentFiles ($a_files) | |
Upload assignment files (e.g. More... | |
Public Member Functions inherited from ilFileSystemStorage | |
__construct ($a_storage_type, $a_path_conversion, $a_container_id) | |
Constructor. More... | |
getContainerId () | |
create () | |
Create directory. More... | |
getAbsolutePath () | |
Get absolute path of storage directory. More... | |
writeToFile ($a_data, $a_absolute_path) | |
Write data to file. More... | |
deleteFile ($a_abs_name) | |
Delete file. More... | |
deleteDirectory ($a_abs_name) | |
Delete directory. More... | |
delete () | |
Delete complete directory. More... | |
copyFile ($a_from, $a_to) | |
Copy files. More... | |
appendToPath ($a_appendix) | |
getStorageType () | |
getPath () | |
Get path. More... | |
__construct ($a_storage_type, $a_path_conversion, $a_container_id) | |
Constructor. More... | |
create () | |
Create directory. More... | |
getAbsolutePath () | |
Get absolute path of storage directory. More... | |
getShortPath () | |
rename ($from, $to) | |
Protected Member Functions | |
getPathPostfix () | |
Implementation of abstract method. More... | |
getPathPrefix () | |
Implementation of abstract method. More... | |
Protected Member Functions inherited from ilFileSystemStorage | |
getPathPrefix () | |
Get path prefix. More... | |
getPathPostfix () | |
Get directory name. More... | |
init () | |
Read path info. More... | |
getPathPrefix () | |
Get path prefix. More... | |
getPathPostfix () | |
Get directory name. More... | |
Protected Attributes | |
$log | |
$ass_id | |
Protected Attributes inherited from ilFileSystemStorage | |
$path | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilFileSystemStorage | |
static | _createPathFromId ($a_container_id, $a_name) |
Create a path from an id: e.g 12345 will be converted to 12/34/<name>_5. More... | |
static | _copyDirectory ($a_source, $a_target) |
Copy directory and all contents. More... | |
static | _createPathFromId ($a_container_id, $a_name) |
Create a path from an id: e.g 12345 will be converted to 12/34/<name>_5. More... | |
Data Fields inherited from ilFileSystemStorage | |
const | STORAGE_WEB = 1 |
const | STORAGE_DATA = 2 |
const | STORAGE_SECURED = 3 |
const | FACTOR = 100 |
const | MAX_EXPONENT = 3 |
const | SECURED_DIRECTORY = "sec" |
Definition at line 12 of file class.ilFSWebStorageExercise.php.
ilFSWebStorageExercise::__construct | ( | $a_container_id = 0 , |
|
$a_ass_id = 0 |
|||
) |
Constructor.
int | assingment id |
Definition at line 22 of file class.ilFSWebStorageExercise.php.
References ilLoggerFactory\getLogger().
ilFSWebStorageExercise::create | ( | ) |
Create directory.
public
Definition at line 76 of file class.ilFSWebStorageExercise.php.
Referenced by ilExAssignment\cloneAssignmentsOfExercise(), ilExAssignmentEditorGUI\executeCommand(), and ilExerciseDataSet\importRecord().
ilFSWebStorageExercise::getAssignmentFilePath | ( | $a_file | ) |
Get path for assignment file.
Definition at line 120 of file class.ilFSWebStorageExercise.php.
References ilFileSystemStorage\getAbsolutePath().
ilFSWebStorageExercise::getFiles | ( | ) |
Get assignment files.
Definition at line 88 of file class.ilFSWebStorageExercise.php.
References $files, and ilUtil\sortArray().
|
protected |
Implementation of abstract method.
protected
Definition at line 54 of file class.ilFSWebStorageExercise.php.
|
protected |
Implementation of abstract method.
protected
Definition at line 65 of file class.ilFSWebStorageExercise.php.
ilFSWebStorageExercise::init | ( | ) |
Append ass_<ass_id> to path (assignment id)
Definition at line 33 of file class.ilFSWebStorageExercise.php.
References $ass_id, and init().
ilFSWebStorageExercise::uploadAssignmentFiles | ( | $a_files | ) |
Upload assignment files (e.g.
from assignment creation form)
Definition at line 130 of file class.ilFSWebStorageExercise.php.
References $name, $size, and $type.
|
protected |
Definition at line 15 of file class.ilFSWebStorageExercise.php.
Referenced by init().
|
protected |
Definition at line 14 of file class.ilFSWebStorageExercise.php.