|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilFSWebStorageExercise:
Collaboration diagram for ilFSWebStorageExercise:Public Member Functions | |
| __construct (int $a_container_id=0, int $a_ass_id=0) | |
| deleteUserSubmissionDirectory (int $user_id) | |
| getFiles () | |
| Get assignment files. More... | |
| getAssignmentFilePath (string $a_file) | |
| uploadAssignmentFiles (array $a_files) | |
Public Member Functions inherited from ilFileSystemAbstractionStorage | |
| __construct (int $a_storage_type, bool $a_path_conversion, int $a_container_id) | |
| Constructor. More... | |
| fileExists (string $a_absolute_path) | |
| getContainerId () | |
| writeToFile (string $a_data, $a_absolute_path) | |
| copyFile (string $a_from, string $a_to) | |
| create () | |
| getAbsolutePath () | |
| Calculates the full path on the filesystem. More... | |
| delete () | |
| deleteDirectory (string $a_abs_name) | |
| deleteFile (string $a_abs_name) | |
| appendToPath (string $a_appendix) | |
| getStorageType () | |
| getPath () | |
Protected Member Functions | |
| init () | |
| getPathPostfix () | |
| Get directory name. More... | |
| getPathPrefix () | |
| Get path prefix. More... | |
Protected Member Functions inherited from ilFileSystemAbstractionStorage | |
| getLegacyFullAbsolutePath (string $relative_path) | |
| getFileSystemService () | |
| getPathPrefix () | |
| Get path prefix. More... | |
| getPathPostfix () | |
| Get directory name. More... | |
| getLegacyAbsolutePath () | |
| Calculates the absolute filesystem storage location. More... | |
| init () | |
Protected Attributes | |
| ilLogger | $log |
| int | $ass_id |
| string | $submissions_path |
Protected Attributes inherited from ilFileSystemAbstractionStorage | |
| string | $path = null |
| ILIAS Filesystem Filesystems | $file_system_service |
Additional Inherited Members | |
Static Public Member Functions inherited from ilFileSystemAbstractionStorage | |
| static | createPathFromId (int $a_container_id, string $a_name) |
| static | _copyDirectory (string $a_sdir, string $a_tdir) |
Data Fields inherited from ilFileSystemAbstractionStorage | |
| const | STORAGE_WEB = 1 |
| const | STORAGE_DATA = 2 |
| const | STORAGE_SECURED = 3 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 23 of file class.ilFSWebStorageExercise.php.
| ilFSWebStorageExercise::__construct | ( | int | $a_container_id = 0, |
| int | $a_ass_id = 0 |
||
| ) |
Definition at line 29 of file class.ilFSWebStorageExercise.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ilLoggerFactory\getLogger().
Here is the call graph for this function:| ilFSWebStorageExercise::deleteUserSubmissionDirectory | ( | int | $user_id | ) |
Definition at line 66 of file class.ilFSWebStorageExercise.php.
| ilFSWebStorageExercise::getAssignmentFilePath | ( | string | $a_file | ) |
Definition at line 114 of file class.ilFSWebStorageExercise.php.
| ilFSWebStorageExercise::getFiles | ( | ) |
Get assignment files.
| ilExcUnknownAssignmentTypeException |
Definition at line 86 of file class.ilFSWebStorageExercise.php.
References $path, CLIENT_ID, ILIAS_WEB_DIR, and ilArrayUtil\sortArray().
Here is the call graph for this function:
|
protected |
Get directory name.
E.g for files => file Only relative path, no trailing slash '_<obj_id>' will be appended automatically
Reimplemented from ilFileSystemAbstractionStorage.
Definition at line 55 of file class.ilFSWebStorageExercise.php.
|
protected |
Get path prefix.
Prefix that will be prepended to the path No trailing slash. E.g ilFiles for files
Reimplemented from ilFileSystemAbstractionStorage.
Definition at line 60 of file class.ilFSWebStorageExercise.php.
|
protected |
Reimplemented from ilFileSystemAbstractionStorage.
Definition at line 39 of file class.ilFSWebStorageExercise.php.
References $ass_id.
| ilFSWebStorageExercise::uploadAssignmentFiles | ( | array | $a_files | ) |
| ilException |
Definition at line 123 of file class.ilFSWebStorageExercise.php.
References $name, and ilFileUtils\moveUploadedFile().
Here is the call graph for this function:
|
protected |
Definition at line 26 of file class.ilFSWebStorageExercise.php.
Referenced by init().
|
protected |
Definition at line 25 of file class.ilFSWebStorageExercise.php.
|
protected |
Definition at line 27 of file class.ilFSWebStorageExercise.php.