|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Inheritance diagram for ilFSStorageExercise:
Collaboration diagram for ilFSStorageExercise:Public Member Functions | |
| __construct ($a_container_id=0, $a_ass_id=0) | |
| Constructor. More... | |
| init () | |
| Append ass_<ass_id> to path (assignment id) More... | |
| getAbsoluteSubmissionPath () | |
| Get submission path. More... | |
| getTempPath () | |
| Get submission path. More... | |
| getFeedbackPath ($a_user_id) | |
| Get feedback path. More... | |
| getGlobalFeedbackPath () | |
| getMultiFeedbackUploadPath ($a_user_id) | |
| Get multi feedback upload path (each uploader handled in a separate path) More... | |
| getPeerReviewUploadPath ($a_peer_id, $a_giver_id, $a_crit_id) | |
| Get pear review upload path (each peer handled in a separate path) More... | |
| create () | |
| Create directory. More... | |
| getFiles () | |
| Get assignment files. More... | |
| uploadFile ($a_http_post_file, $user_id, $is_unziped=false) | |
| store delivered file in filesystem More... | |
| getFeedbackFiles ($a_user_id) | |
| Get number of feedback files. More... | |
| countFeedbackFiles ($a_user_id) | |
| Count number of feedback files for a user. More... | |
| getAssignmentFilePath ($a_file) | |
| Get path for assignment file. More... | |
| getFeedbackFilePath ($a_user_id, $a_file) | |
| Get path for feedback 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... | |
| 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... | |
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" |
Protected Attributes inherited from ilFileSystemStorage | |
| $path | |
Definition at line 30 of file class.ilFSStorageExercise.php.
| ilFSStorageExercise::__construct | ( | $a_container_id = 0, |
|
$a_ass_id = 0 |
|||
| ) |
Constructor.
| int | exercise id |
Definition at line 37 of file class.ilFSStorageExercise.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ilFSStorageExercise::countFeedbackFiles | ( | $a_user_id | ) |
Count number of feedback files for a user.
Definition at line 300 of file class.ilFSStorageExercise.php.
References getFeedbackFiles().
Here is the call graph for this function:| ilFSStorageExercise::create | ( | ) |
Create directory.
@access public
Reimplemented from ilFileSystemStorage.
Definition at line 159 of file class.ilFSStorageExercise.php.
References ilUtil\makeDirParents().
Referenced by uploadFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageExercise::getAbsoluteSubmissionPath | ( | ) |
Get submission path.
Definition at line 89 of file class.ilFSStorageExercise.php.
Referenced by uploadFile().
Here is the caller graph for this function:| ilFSStorageExercise::getAssignmentFilePath | ( | $a_file | ) |
Get path for assignment file.
Definition at line 309 of file class.ilFSStorageExercise.php.
References ilFileSystemStorage\getAbsolutePath().
Here is the call graph for this function:| ilFSStorageExercise::getFeedbackFilePath | ( | $a_user_id, | |
| $a_file | |||
| ) |
Get path for feedback file.
Definition at line 317 of file class.ilFSStorageExercise.php.
References getFeedbackPath().
Here is the call graph for this function:| ilFSStorageExercise::getFeedbackFiles | ( | $a_user_id | ) |
Get number of feedback files.
Definition at line 280 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 | ( | $a_user_id | ) |
Get feedback path.
Definition at line 105 of file class.ilFSStorageExercise.php.
References ilFileSystemStorage\$path, and ilUtil\makeDirParents().
Referenced by getFeedbackFilePath(), and getFeedbackFiles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageExercise::getFiles | ( | ) |
Get assignment files.
Definition at line 177 of file class.ilFSStorageExercise.php.
References ilUtil\sortArray().
Here is the call graph for this function:| ilFSStorageExercise::getGlobalFeedbackPath | ( | ) |
Definition at line 114 of file class.ilFSStorageExercise.php.
References ilFileSystemStorage\$path, and ilUtil\makeDirParents().
Here is the call graph for this function:| ilFSStorageExercise::getMultiFeedbackUploadPath | ( | $a_user_id | ) |
Get multi feedback upload path (each uploader handled in a separate path)
Definition at line 127 of file class.ilFSStorageExercise.php.
References ilFileSystemStorage\$path, and ilUtil\makeDirParents().
Here is the call graph for this function:
|
protected |
Implementation of abstract method.
@access protected
Reimplemented from ilFileSystemStorage.
Definition at line 70 of file class.ilFSStorageExercise.php.
|
protected |
Implementation of abstract method.
@access protected
Reimplemented from ilFileSystemStorage.
Definition at line 81 of file class.ilFSStorageExercise.php.
| ilFSStorageExercise::getPeerReviewUploadPath | ( | $a_peer_id, | |
| $a_giver_id, | |||
| $a_crit_id | |||
| ) |
Get pear review upload path (each peer handled in a separate path)
Definition at line 140 of file class.ilFSStorageExercise.php.
References ilFileSystemStorage\$path, and ilUtil\makeDirParents().
Here is the call graph for this function:| ilFSStorageExercise::getTempPath | ( | ) |
Get submission path.
Definition at line 97 of file class.ilFSStorageExercise.php.
| ilFSStorageExercise::init | ( | ) |
Append ass_<ass_id> to path (assignment id)
Reimplemented from ilFileSystemStorage.
Definition at line 46 of file class.ilFSStorageExercise.php.
| ilFSStorageExercise::uploadAssignmentFiles | ( | $a_files | ) |
Upload assignment files (e.g.
from assignment creation form)
Definition at line 327 of file class.ilFSStorageExercise.php.
References $name, $size, $type, and ilUtil\moveUploadedFile().
Here is the call graph for this function:| ilFSStorageExercise::uploadFile | ( | $a_http_post_file, | |
| $user_id, | |||
$is_unziped = false |
|||
| ) |
store delivered file in filesystem
| array | HTTP_POST_FILES |
| numeric | database id of the user who delivered the file @access public |
Definition at line 211 of file class.ilFSStorageExercise.php.
References $filename, $result, create(), getAbsoluteSubmissionPath(), ilObjMediaObject\getMimeType(), ilFileUtils\getValidFilename(), ilUtil\makeDir(), ilUtil\moveUploadedFile(), and ilFileSystemStorage\rename().
Here is the call graph for this function: