|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilFSStorageExercise:
Collaboration diagram for ilFSStorageExercise:Public Member Functions | |
| __construct (int $a_container_id=0, int $a_ass_id=0) | |
| init () | |
| Append ass_<ass_id> to path (assignment id) More... | |
| getAbsoluteSubmissionPath () | |
| getTempPath () | |
| getFeedbackPath (string $a_user_id) | |
| getGlobalFeedbackPath () | |
| getMultiFeedbackUploadPath (int $a_user_id) | |
| Get multi feedback upload path (each uploader handled in a separate path) More... | |
| getPeerReviewUploadPath (int $a_peer_id, int $a_giver_id, ?int $a_crit_id=null) | |
| Get pear review upload path (each peer handled in a separate path) More... | |
| create () | |
| Create directory. More... | |
| getFiles () | |
| uploadFile (array $a_http_post_file, int $user_id, bool $is_unziped=false) | |
| store delivered file in filesystem More... | |
| addFileUpload (\ILIAS\FileUpload\DTO\UploadResult $result, int $user_id) | |
| store delivered file in filesystem More... | |
| getFeedbackFiles (string $a_user_id) | |
| countFeedbackFiles (string $a_user_id) | |
| getAssignmentFilePath (string $a_file) | |
| getFeedbackFilePath (string $a_user_id, 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 | |
| getRelativeSubmissionPath () | |
| getPathPostfix () | |
| getPathPrefix () | |
| getStorageFilename (string $filename) | |
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 | |
| string | $relative_submission_path |
| ILIAS FileUpload FileUpload | $upload |
| int | $ass_id |
| string | $submission_path |
| string | $tmp_path |
| string | $feedb_path |
| string | $multi_feedback_upload_path |
| string | $peer_review_upload_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 22 of file class.ilFSStorageExercise.php.
| ilFSStorageExercise::__construct | ( | int | $a_container_id = 0, |
| int | $a_ass_id = 0 |
||
| ) |
Definition at line 33 of file class.ilFSStorageExercise.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), and ILIAS\Repository\upload().
Here is the call graph for this function:| ilFSStorageExercise::addFileUpload | ( | \ILIAS\FileUpload\DTO\UploadResult | $result, |
| int | $user_id | ||
| ) |
store delivered file in filesystem
| array | $a_http_post_file | |
| int | $user_id | |
| bool | $is_unziped |
| ilException | |
| ilFileUtilsException |
Definition at line 282 of file class.ilFSStorageExercise.php.
References $filename, create(), getRelativeSubmissionPath(), getStorageFilename(), and ILIAS\Repository\upload().
Here is the call graph for this function:| ilFSStorageExercise::countFeedbackFiles | ( | string | $a_user_id | ) |
Definition at line 346 of file class.ilFSStorageExercise.php.
References getFeedbackFiles().
Referenced by ilExerciseSubmissionTableGUI\parseColumns().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageExercise::create | ( | ) |
Create directory.
Definition at line 147 of file class.ilFSStorageExercise.php.
References ilFileUtils\makeDirParents().
Referenced by ilExAssignmentPeerReviewTableGUI\__construct(), ilExerciseXMLParser\__construct(), addFileUpload(), ilExSubmission\downloadAllAssignmentFiles(), ilExPeerReviewGUI\executeCommand(), ilExerciseManagementGUI\executeCommand(), ilExPeerReviewGUI\getPeerReviewReceiverPanel(), ilExerciseDataSet\importRecord(), and uploadFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageExercise::getAbsoluteSubmissionPath | ( | ) |
Definition at line 81 of file class.ilFSStorageExercise.php.
References $submission_path.
Referenced by uploadFile().
Here is the caller graph for this function:| ilFSStorageExercise::getAssignmentFilePath | ( | string | $a_file | ) |
Definition at line 353 of file class.ilFSStorageExercise.php.
References ilFileSystemAbstractionStorage\getAbsolutePath().
Here is the call graph for this function:| ilFSStorageExercise::getFeedbackFilePath | ( | string | $a_user_id, |
| string | $a_file | ||
| ) |
Definition at line 358 of file class.ilFSStorageExercise.php.
References getFeedbackPath().
Here is the call graph for this function:| ilFSStorageExercise::getFeedbackFiles | ( | string | $a_user_id | ) |
Definition at line 325 of file class.ilFSStorageExercise.php.
References getFeedbackPath().
Referenced by countFeedbackFiles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageExercise::getFeedbackPath | ( | string | $a_user_id | ) |
Definition at line 91 of file class.ilFSStorageExercise.php.
References ilFileSystemAbstractionStorage\$path, and ilFileUtils\makeDirParents().
Referenced by getFeedbackFilePath(), and getFeedbackFiles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageExercise::getFiles | ( | ) |
Definition at line 161 of file class.ilFSStorageExercise.php.
References ilArrayUtil\sortArray().
Referenced by ilObjExercise\update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageExercise::getGlobalFeedbackPath | ( | ) |
Definition at line 101 of file class.ilFSStorageExercise.php.
References ilFileSystemAbstractionStorage\$path, and ilFileUtils\makeDirParents().
Here is the call graph for this function:| ilFSStorageExercise::getMultiFeedbackUploadPath | ( | int | $a_user_id | ) |
Get multi feedback upload path (each uploader handled in a separate path)
Definition at line 114 of file class.ilFSStorageExercise.php.
References ilFileSystemAbstractionStorage\$path, and ilFileUtils\makeDirParents().
Here is the call graph for this function:
|
protected |
Definition at line 71 of file class.ilFSStorageExercise.php.
|
protected |
Definition at line 76 of file class.ilFSStorageExercise.php.
| ilFSStorageExercise::getPeerReviewUploadPath | ( | int | $a_peer_id, |
| int | $a_giver_id, | ||
| ?int | $a_crit_id = null |
||
| ) |
Get pear review upload path (each peer handled in a separate path)
Definition at line 128 of file class.ilFSStorageExercise.php.
References ilFileSystemAbstractionStorage\$path, ILIAS\Repository\int(), and ilFileUtils\makeDirParents().
Referenced by ilExPeerReviewGUI\executeCommand(), and ilExcCriteriaFile\initStorage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 44 of file class.ilFSStorageExercise.php.
References $relative_submission_path.
Referenced by addFileUpload().
Here is the caller graph for this function:
|
protected |
Definition at line 260 of file class.ilFSStorageExercise.php.
References $DIC, $filename, and ilFileUtils\getValidFilename().
Referenced by addFileUpload(), and uploadFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageExercise::getTempPath | ( | ) |
| ilFSStorageExercise::init | ( | ) |
Append ass_<ass_id> to path (assignment id)
Definition at line 52 of file class.ilFSStorageExercise.php.
References $ass_id, ilFileSystemAbstractionStorage\getAbsolutePath(), and init().
Here is the call graph for this function:| ilFSStorageExercise::uploadAssignmentFiles | ( | array | $a_files | ) |
| ilException |
Definition at line 369 of file class.ilFSStorageExercise.php.
References ilFileSystemAbstractionStorage\getAbsolutePath(), and ilFileUtils\moveUploadedFile().
Here is the call graph for this function:| ilFSStorageExercise::uploadFile | ( | array | $a_http_post_file, |
| int | $user_id, | ||
| bool | $is_unziped = false |
||
| ) |
store delivered file in filesystem
| array | $a_http_post_file | |
| int | $user_id | |
| bool | $is_unziped |
| ilException | |
| ilFileUtilsException |
Definition at line 197 of file class.ilFSStorageExercise.php.
References $filename, create(), getAbsoluteSubmissionPath(), ilObjMediaObject\getMimeType(), getStorageFilename(), ilFileUtils\makeDir(), ilFileUtils\moveUploadedFile(), and ilFileUtils\rename().
Here is the call graph for this function:
|
protected |
Definition at line 26 of file class.ilFSStorageExercise.php.
Referenced by init().
|
protected |
Definition at line 29 of file class.ilFSStorageExercise.php.
|
protected |
Definition at line 30 of file class.ilFSStorageExercise.php.
|
protected |
Definition at line 31 of file class.ilFSStorageExercise.php.
|
protected |
Definition at line 24 of file class.ilFSStorageExercise.php.
Referenced by getRelativeSubmissionPath().
|
protected |
Definition at line 27 of file class.ilFSStorageExercise.php.
Referenced by getAbsoluteSubmissionPath().
|
protected |
Definition at line 28 of file class.ilFSStorageExercise.php.
Referenced by getTempPath().
|
protected |
Definition at line 25 of file class.ilFSStorageExercise.php.