|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Handles the fileupload and folder creation for files uploaded in grading form. More...
Inheritance diagram for ilIndividualAssessmentFileStorage:
Collaboration diagram for ilIndividualAssessmentFileStorage:Public Member Functions | |
| isEmpty () | |
| Is the webdir folder for this IA empty. More... | |
| setUserId ($user_id) | |
| Set the user id for an extra folder of each participant in the IA. More... | |
| create () | |
| creates the folder structure More... | |
| getAbsolutePath () | |
| Get the absolute path for files. More... | |
| readDir () | |
| Read the dir. More... | |
| uploadFile ($file) | |
| Upload the file. More... | |
| deleteCurrentFile () | |
| Delete the existing file. More... | |
| getFilePath () | |
| Get the path of file. More... | |
| deleteFileByName ($file_name) | |
| Delete a file by name. 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) | |
| isEmpty () | |
| deleteCurrentFile () | |
| getFilePath () | |
| uploadFile ($file) | |
| create () | |
| setUserId ($user_id) | |
| Set user for path creation. More... | |
Static Public Member Functions | |
| static | getInstance ($a_container_id=0) |
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... | |
Protected Member Functions | |
| getPathPostfix () | |
| part of the folder structure in ILIAS webdir. More... | |
| getPathPrefix () | |
| part of the folder structure in ILIAS webdir. More... | |
Protected Member Functions inherited from ilFileSystemStorage | |
| 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 | |
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 | |
Handles the fileupload and folder creation for files uploaded in grading form.
Definition at line 10 of file class.ilIndividualAssessmentFileStorage.php.
| ilIndividualAssessmentFileStorage::create | ( | ) |
creates the folder structure
Implements IndividualAssessmentFileStorage.
Definition at line 64 of file class.ilIndividualAssessmentFileStorage.php.
References getAbsolutePath(), and ilUtil\makeDirParents().
Referenced by readDir().
Here is the call graph for this function:
Here is the caller graph for this function:| ilIndividualAssessmentFileStorage::deleteCurrentFile | ( | ) |
Delete the existing file.
Implements IndividualAssessmentFileStorage.
Definition at line 137 of file class.ilIndividualAssessmentFileStorage.php.
References $files, ilFileSystemStorage\deleteFile(), getAbsolutePath(), and readDir().
Here is the call graph for this function:| ilIndividualAssessmentFileStorage::deleteFileByName | ( | $file_name | ) |
Delete a file by name.
| string | $file_name |
Definition at line 159 of file class.ilIndividualAssessmentFileStorage.php.
References ilFileSystemStorage\deleteFile(), and getAbsolutePath().
Here is the call graph for this function:| ilIndividualAssessmentFileStorage::getAbsolutePath | ( | ) |
Get the absolute path for files.
Reimplemented from ilFileSystemStorage.
Definition at line 77 of file class.ilIndividualAssessmentFileStorage.php.
References ilFileSystemStorage\$path.
Referenced by create(), deleteCurrentFile(), deleteFileByName(), getFilePath(), readDir(), and uploadFile().
Here is the caller graph for this function:| ilIndividualAssessmentFileStorage::getFilePath | ( | ) |
Get the path of file.
Implements IndividualAssessmentFileStorage.
Definition at line 148 of file class.ilIndividualAssessmentFileStorage.php.
References $files, getAbsolutePath(), and readDir().
Here is the call graph for this function:
|
static |
Definition at line 12 of file class.ilIndividualAssessmentFileStorage.php.
References ilFileSystemStorage\STORAGE_WEB.
Referenced by ilObjIndividualAssessment\getFileStorage().
Here is the caller graph for this function:
|
protected |
part of the folder structure in ILIAS webdir.
Reimplemented from ilFileSystemStorage.
Definition at line 22 of file class.ilIndividualAssessmentFileStorage.php.
|
protected |
part of the folder structure in ILIAS webdir.
Reimplemented from ilFileSystemStorage.
Definition at line 32 of file class.ilIndividualAssessmentFileStorage.php.
| ilIndividualAssessmentFileStorage::isEmpty | ( | ) |
Is the webdir folder for this IA empty.
Implements IndividualAssessmentFileStorage.
Definition at line 42 of file class.ilIndividualAssessmentFileStorage.php.
References $files, and readDir().
Here is the call graph for this function:| ilIndividualAssessmentFileStorage::readDir | ( | ) |
Read the dir.
Definition at line 93 of file class.ilIndividualAssessmentFileStorage.php.
References $files, create(), and getAbsolutePath().
Referenced by deleteCurrentFile(), getFilePath(), and isEmpty().
Here is the call graph for this function:
Here is the caller graph for this function:| ilIndividualAssessmentFileStorage::setUserId | ( | $user_id | ) |
Set the user id for an extra folder of each participant in the IA.
| int | $user_id |
Implements IndividualAssessmentFileStorage.
Definition at line 54 of file class.ilIndividualAssessmentFileStorage.php.
| ilIndividualAssessmentFileStorage::uploadFile | ( | $file | ) |
Upload the file.
| string[] |
Implements IndividualAssessmentFileStorage.
Definition at line 118 of file class.ilIndividualAssessmentFileStorage.php.
References ilFileSystemStorage\$path, and getAbsolutePath().
Here is the call graph for this function: