|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
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) | |
| Get pear review upload path (each peer handled in a separate path) More... | |
| deletePeerReviewUploads () | |
| Remove all uploads. More... | |
| create () | |
| Create directory. More... | |
| getFiles () | |
| Get assignment files. More... | |
| deliverFile ($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... | |
| _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 32 of file class.ilFSStorageExercise.php.
| ilFSStorageExercise::__construct | ( | $a_container_id = 0, |
|
$a_ass_id = 0 |
|||
| ) |
Constructor.
| int | exercise id |
Definition at line 39 of file class.ilFSStorageExercise.php.
| ilFSStorageExercise::countFeedbackFiles | ( | $a_user_id | ) |
Count number of feedback files for a user.
Definition at line 321 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 173 of file class.ilFSStorageExercise.php.
References ilUtil\makeDirParents().
Referenced by deliverFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageExercise::deletePeerReviewUploads | ( | ) |
Remove all uploads.
Definition at line 162 of file class.ilFSStorageExercise.php.
References ilFileSystemStorage\deleteDirectory().
Here is the call graph for this function:| ilFSStorageExercise::deliverFile | ( | $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 231 of file class.ilFSStorageExercise.php.
References $filename, $result, create(), getAbsoluteSubmissionPath(), ilObjMediaObject\getMimeType(), ilUtil\makeDir(), ilUtil\moveUploadedFile(), and ilFileSystemStorage\rename().
Here is the call graph for this function:| ilFSStorageExercise::getAbsoluteSubmissionPath | ( | ) |
Get submission path.
Definition at line 95 of file class.ilFSStorageExercise.php.
Referenced by deliverFile().
Here is the caller graph for this function:| ilFSStorageExercise::getAssignmentFilePath | ( | $a_file | ) |
Get path for assignment file.
Definition at line 330 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 338 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 298 of file class.ilFSStorageExercise.php.
References $file, and 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 111 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 194 of file class.ilFSStorageExercise.php.
References $file, ilFormat\formatDate(), and ilUtil\sortArray().
Here is the call graph for this function:| ilFSStorageExercise::getGlobalFeedbackPath | ( | ) |
Definition at line 121 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 135 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 76 of file class.ilFSStorageExercise.php.
|
protected |
Implementation of abstract method.
@access protected
Reimplemented from ilFileSystemStorage.
Definition at line 87 of file class.ilFSStorageExercise.php.
| ilFSStorageExercise::getPeerReviewUploadPath | ( | $a_peer_id, | |
| $a_giver_id | |||
| ) |
Get pear review upload path (each peer handled in a separate path)
Definition at line 149 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 103 of file class.ilFSStorageExercise.php.
| ilFSStorageExercise::init | ( | ) |
Append ass_<ass_id> to path (assignment id)
Reimplemented from ilFileSystemStorage.
Definition at line 48 of file class.ilFSStorageExercise.php.
| ilFSStorageExercise::uploadAssignmentFiles | ( | $a_files | ) |
Upload assignment files (e.g.
from assignment creation form)
Definition at line 348 of file class.ilFSStorageExercise.php.
References $size, and ilUtil\moveUploadedFile().
Here is the call graph for this function: