| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
 Inheritance diagram for ilFSStorageExercise:
 Inheritance diagram for ilFSStorageExercise: Collaboration diagram for ilFSStorageExercise:
 Collaboration diagram for ilFSStorageExercise:| Public Member Functions | |
| __construct ($a_container_id=0, $a_ass_id=0) | |
| Constructor. | |
| init () | |
| Append ass_<ass_id> to path (assignment id) | |
| getAbsoluteSubmissionPath () | |
| Get submission path. | |
| getTempPath () | |
| Get submission path. | |
| getFeedbackPath ($a_user_id) | |
| Get feedback path. | |
| create () | |
| Create directory. | |
| getFiles () | |
| Get assignment files. | |
| deliverFile ($a_http_post_file, $user_id, $is_unziped=false) | |
| store delivered file in filesystem | |
| getFeedbackFiles ($a_user_id) | |
| Get number of feedback files. | |
| countFeedbackFiles ($a_user_id) | |
| Count number of feedback files for a user. | |
| getAssignmentFilePath ($a_file) | |
| Get path for assignment file. | |
| getFeedbackFilePath ($a_user_id, $a_file) | |
| Get path for feedback file. | |
| uploadAssignmentFiles ($a_files) | |
| Upload assignment files (e.g. | |
|  Public Member Functions inherited from ilFileSystemStorage | |
| __construct ($a_storage_type, $a_path_conversion, $a_container_id) | |
| Constructor. | |
| getContainerId () | |
| getAbsolutePath () | |
| Get absolute path of storage directory. | |
| writeToFile ($a_data, $a_absolute_path) | |
| Write data to file. | |
| deleteFile ($a_abs_name) | |
| Delete file. | |
| deleteDirectory ($a_abs_name) | |
| Delete directory. | |
| delete () | |
| Delete complete directory. | |
| copyFile ($a_from, $a_to) | |
| Copy files. | |
| appendToPath ($a_appendix) | |
| getStorageType () | |
| getPath () | |
| Get path. | |
| __construct ($a_storage_type, $a_path_conversion, $a_container_id) | |
| Constructor. | |
| getAbsolutePath () | |
| Get absolute path of storage directory. | |
| getShortPath () | |
| rename ($from, $to) | |
| Protected Member Functions | |
| getPathPostfix () | |
| Implementation of abstract method. | |
| getPathPrefix () | |
| Implementation of abstract method. | |
| 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. | |
| _copyDirectory ($a_source, $a_target) | |
| Copy directory and all contents. | |
| static | _createPathFromId ($a_container_id, $a_name) | 
| Create a path from an id: e.g 12345 will be converted to 12/34/<name>_5. | |
|  Data Fields inherited from ilFileSystemStorage | |
| const | STORAGE_WEB = 1 | 
| const | STORAGE_DATA = 2 | 
| const | FACTOR = 100 | 
| const | MAX_EXPONENT = 3 | 
|  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 | |||
| ) | 
| ilFSStorageExercise::countFeedbackFiles | ( | $a_user_id | ) | 
Count number of feedback files for a user.
Definition at line 273 of file class.ilFSStorageExercise.php.
References getFeedbackFiles().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilFSStorageExercise::create | ( | ) | 
Create directory.
public
Reimplemented from ilFileSystemStorage.
Definition at line 125 of file class.ilFSStorageExercise.php.
References ilUtil\makeDirParents().
Referenced by ilExAssignment\cloneAssignmentsOfExercise(), deliverFile(), ilExerciseXMLParser\ilExerciseXMLParser(), and ilExerciseDataSet\importRecord().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller 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 public | 
Definition at line 183 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:
 Here is the call graph for this function:| ilFSStorageExercise::getAbsoluteSubmissionPath | ( | ) | 
Get submission path.
Definition at line 93 of file class.ilFSStorageExercise.php.
Referenced by deliverFile().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFSStorageExercise::getAssignmentFilePath | ( | $a_file | ) | 
Get path for assignment file.
Definition at line 282 of file class.ilFSStorageExercise.php.
References ilFileSystemStorage\getAbsolutePath().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilFSStorageExercise::getFeedbackFilePath | ( | $a_user_id, | |
| $a_file | |||
| ) | 
Get path for feedback file.
Definition at line 290 of file class.ilFSStorageExercise.php.
References getFeedbackPath().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilFSStorageExercise::getFeedbackFiles | ( | $a_user_id | ) | 
Get number of feedback files.
Definition at line 250 of file class.ilFSStorageExercise.php.
References $file, and getFeedbackPath().
Referenced by countFeedbackFiles().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFSStorageExercise::getFeedbackPath | ( | $a_user_id | ) | 
Get feedback path.
Definition at line 109 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilFSStorageExercise::getFiles | ( | ) | 
Get assignment files.
Definition at line 146 of file class.ilFSStorageExercise.php.
References $file, ilFormat\formatDate(), and ilUtil\sortArray().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Implementation of abstract method.
protected
Reimplemented from ilFileSystemStorage.
Definition at line 74 of file class.ilFSStorageExercise.php.
| 
 | protected | 
Implementation of abstract method.
protected
Reimplemented from ilFileSystemStorage.
Definition at line 85 of file class.ilFSStorageExercise.php.
| ilFSStorageExercise::getTempPath | ( | ) | 
Get submission path.
Definition at line 101 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 300 of file class.ilFSStorageExercise.php.
References $size, and ilUtil\moveUploadedFile().
 Here is the call graph for this function:
 Here is the call graph for this function: