|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for ilFSStorageExercise5069:
Collaboration diagram for ilFSStorageExercise5069: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 ilFileSystemStorage5069 | |
| __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... | |
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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilFileSystemStorage5069 | |
| 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... | |
Data Fields inherited from ilFileSystemStorage5069 | |
| 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 ilFileSystemStorage5069 | |
| $path | |
Definition at line 30 of file class.ilFSStorageExercise5069.php.
| ilFSStorageExercise5069::__construct | ( | $a_container_id = 0, |
|
$a_ass_id = 0 |
|||
| ) |
Constructor.
| int | exercise id |
Definition at line 37 of file class.ilFSStorageExercise5069.php.
| ilFSStorageExercise5069::countFeedbackFiles | ( | $a_user_id | ) |
Count number of feedback files for a user.
Definition at line 299 of file class.ilFSStorageExercise5069.php.
References getFeedbackFiles().
Here is the call graph for this function:| ilFSStorageExercise5069::create | ( | ) |
Create directory.
@access public
Reimplemented from ilFileSystemStorage5069.
Definition at line 159 of file class.ilFSStorageExercise5069.php.
References ilUtil\makeDirParents().
Referenced by uploadFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageExercise5069::getAbsoluteSubmissionPath | ( | ) |
Get submission path.
Definition at line 89 of file class.ilFSStorageExercise5069.php.
Referenced by uploadFile().
Here is the caller graph for this function:| ilFSStorageExercise5069::getAssignmentFilePath | ( | $a_file | ) |
Get path for assignment file.
Definition at line 308 of file class.ilFSStorageExercise5069.php.
References ilFileSystemStorage5069\getAbsolutePath().
Here is the call graph for this function:| ilFSStorageExercise5069::getFeedbackFilePath | ( | $a_user_id, | |
| $a_file | |||
| ) |
Get path for feedback file.
Definition at line 316 of file class.ilFSStorageExercise5069.php.
References getFeedbackPath().
Here is the call graph for this function:| ilFSStorageExercise5069::getFeedbackFiles | ( | $a_user_id | ) |
Get number of feedback files.
Definition at line 279 of file class.ilFSStorageExercise5069.php.
References $files, and getFeedbackPath().
Referenced by countFeedbackFiles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageExercise5069::getFeedbackPath | ( | $a_user_id | ) |
Get feedback path.
Definition at line 105 of file class.ilFSStorageExercise5069.php.
References ilFileSystemStorage5069\$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:| ilFSStorageExercise5069::getFiles | ( | ) |
Get assignment files.
Definition at line 177 of file class.ilFSStorageExercise5069.php.
References $files, and ilUtil\sortArray().
Here is the call graph for this function:| ilFSStorageExercise5069::getGlobalFeedbackPath | ( | ) |
Definition at line 114 of file class.ilFSStorageExercise5069.php.
References ilFileSystemStorage5069\$path, and ilUtil\makeDirParents().
Here is the call graph for this function:| ilFSStorageExercise5069::getMultiFeedbackUploadPath | ( | $a_user_id | ) |
Get multi feedback upload path (each uploader handled in a separate path)
Definition at line 127 of file class.ilFSStorageExercise5069.php.
References ilFileSystemStorage5069\$path, and ilUtil\makeDirParents().
Here is the call graph for this function:
|
protected |
Implementation of abstract method.
@access protected
Reimplemented from ilFileSystemStorage5069.
Definition at line 70 of file class.ilFSStorageExercise5069.php.
|
protected |
Implementation of abstract method.
@access protected
Reimplemented from ilFileSystemStorage5069.
Definition at line 81 of file class.ilFSStorageExercise5069.php.
| ilFSStorageExercise5069::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.ilFSStorageExercise5069.php.
References ilFileSystemStorage5069\$path, and ilUtil\makeDirParents().
Here is the call graph for this function:| ilFSStorageExercise5069::getTempPath | ( | ) |
Get submission path.
Definition at line 97 of file class.ilFSStorageExercise5069.php.
| ilFSStorageExercise5069::init | ( | ) |
Append ass_<ass_id> to path (assignment id)
Reimplemented from ilFileSystemStorage5069.
Definition at line 46 of file class.ilFSStorageExercise5069.php.
References init().
Here is the call graph for this function:| ilFSStorageExercise5069::uploadAssignmentFiles | ( | $a_files | ) |
Upload assignment files (e.g.
from assignment creation form)
Definition at line 326 of file class.ilFSStorageExercise5069.php.
| ilFSStorageExercise5069::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.ilFSStorageExercise5069.php.
References $filename, $result, create(), getAbsoluteSubmissionPath(), ilObjMediaObject\getMimeType(), and ilUtil\makeDir().
Here is the call graph for this function: