|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ilTestArchiver:Public Member Functions | |
| getParticipantData () | |
| setParticipantData (ilTestParticipantData $participant_data) | |
| handInParticipantQuestionMaterial (int $active_fi, int $pass, int $question_fi, string $original_filename, string $file_path) | |
| handInParticipantMisc (int $active_fi, int $pass, string $original_filename, string $file_path) | |
| handInTestBestSolution (string $best_solution) | |
| handInParticipantUploadedResults (int $active_fi, int $pass, ilObjTest $tst_obj) | |
| handInBestSolutionQuestionMaterial (int $question_fi, string $orginial_filename, string $file_path) | |
| handInTestResult (int $active_fi, int $pass, string $pdf_path) | |
| updateTestArchive () | |
| ensureZipExportDirectoryExists () | |
| hasZipExportDirectory () | |
| getZipExportDirectory () | |
| compressTestArchive () | |
| getResultsOfUserOutput (\ilObjTest $test_obj, ilTestSession $test_session, array $participant_data, int $active_id, int $attempt) | |
Data Fields | |
| const | DIR_SEP = DIRECTORY_SEPARATOR |
| const | EXPORT_DIRECTORY = 'archive_exports' |
Protected Member Functions | |
| hasTestArchive () | |
| createArchiveForTest () | |
| getTestArchive () | |
| ensureTestArchiveIsAvailable () | |
| createZipExportDirectory () | |
| hasPassDataDirectory (int $active_fi, int $pass) | |
| createPassDataDirectory (int $active_fi, int $pass) | |
| getPassDataDirectory (int $active_fi, int $pass) | |
| ensurePassDataDirectoryIsAvailable (int $active_fi, int $pass) | |
| hasPassMaterialsDirectory (int $active_fi, int $pass) | |
| createPassMaterialsDirectory (int $active_fi, int $pass) | |
| getPassMaterialsDirectory (int $active_fi, int $pass) | |
| ensurePassMaterialsDirectoryIsAvailable (int $active_fi, int $pass) | |
| readArchiveDataIndex () | |
| appendToArchiveDataIndex (string $date, int $active_fi, int $pass, string $user_firstname, string $user_lastname, string $matriculation) | |
Protected Attributes | |
| ilTestHTMLGenerator | $html_generator |
| ilTestParticipantData | $participant_data = null |
| TestResultRepository | $test_result_repository |
Private Member Functions | |
| buildPassDataDirectory ($active_fi, $pass) | |
| determinePassDataPath (string $date, int $active_fi, int $pass, string $user_firstname, string $user_lastname, string $matriculation) | |
| createUserResultsForArchive (\ilObjTest $test_obj, array $active_ids,) | |
| getColumnsForAttemptOverviewTable () | |
| getDataRetrievalForAttemptOverviewTable (array $result_data) | |
| logArchivingProcess (string $message) | |
Private Attributes | |
| const | PASS_MATERIALS_PATH_COMPONENT = 'materials' |
| const | QUESTION_PATH_COMPONENT_PREFIX = 'q_' |
| const | TEST_BEST_SOLUTION_PATH_COMPONENT = 'best_solution' |
| const | HTML_BEST_SOLUTION_FILENAME = 'best_solution.html' |
| const | TEST_MATERIALS_PATH_COMPONENT = 'materials' |
| const | TEST_RESULT_FILENAME = 'test_result.html' |
| const | LOG_DTSGROUP_FORMAT = 'D M j G:i:s T Y' |
| const | LOG_ADDITION_STRING = ' Adding ' |
| const | TEST_LOG_FILENAME = 'test_log.xlsx' |
| const | DATA_INDEX_FILENAME = 'data_index.csv' |
| const | ARCHIVE_LOG = 'archive.log' |
| string | $external_directory_path |
| string | $client_id = CLIENT_ID |
| $archive_data_index | |
Definition at line 37 of file class.ilTestArchiver.php.
|
protected |
Definition at line 480 of file class.ilTestArchiver.php.
|
private |
Definition at line 343 of file class.ilTestArchiver.php.
| ilTestArchiver::compressTestArchive | ( | ) |
Definition at line 320 of file class.ilTestArchiver.php.
References ilFileUtils\zip().
Here is the call graph for this function:
|
protected |
Definition at line 246 of file class.ilTestArchiver.php.
References ilFileUtils\makeDirParents().
Here is the call graph for this function:
|
protected |
Definition at line 337 of file class.ilTestArchiver.php.
|
protected |
Data is taken from the current user as the implementation expects the first interaction of the pass takes place from the usage/behaviour of the current user. (skergomard, 11.09.24: Whatever the f*** this means.)
Definition at line 407 of file class.ilTestArchiver.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 528 of file class.ilTestArchiver.php.
|
protected |
Definition at line 309 of file class.ilTestArchiver.php.
|
private |
Definition at line 505 of file class.ilTestArchiver.php.
|
protected |
Definition at line 391 of file class.ilTestArchiver.php.
|
protected |
Definition at line 443 of file class.ilTestArchiver.php.
|
protected |
Definition at line 258 of file class.ilTestArchiver.php.
| ilTestArchiver::ensureZipExportDirectoryExists | ( | ) |
Definition at line 297 of file class.ilTestArchiver.php.
|
private |
Definition at line 644 of file class.ilTestArchiver.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 658 of file class.ilTestArchiver.php.
References ILIAS\UI\Implementation\Component\Table\$range, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow().
Here is the call graph for this function:| ilTestArchiver::getParticipantData | ( | ) |
Definition at line 94 of file class.ilTestArchiver.php.
References $participant_data.
|
protected |
Definition at line 355 of file class.ilTestArchiver.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 437 of file class.ilTestArchiver.php.
| ilTestArchiver::getResultsOfUserOutput | ( | \ilObjTest | $test_obj, |
| ilTestSession | $test_session, | ||
| array | $participant_data, | ||
| int | $active_id, | ||
| int | $attempt | ||
| ) |
Definition at line 571 of file class.ilTestArchiver.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 251 of file class.ilTestArchiver.php.
| ilTestArchiver::getZipExportDirectory | ( | ) |
Definition at line 314 of file class.ilTestArchiver.php.
| ilTestArchiver::handInBestSolutionQuestionMaterial | ( | int | $question_fi, |
| string | $orginial_filename, | ||
| string | $file_path | ||
| ) |
Definition at line 202 of file class.ilTestArchiver.php.
| ilTestArchiver::handInParticipantMisc | ( | int | $active_fi, |
| int | $pass, | ||
| string | $original_filename, | ||
| string | $file_path | ||
| ) |
Definition at line 128 of file class.ilTestArchiver.php.
| ilTestArchiver::handInParticipantQuestionMaterial | ( | int | $active_fi, |
| int | $pass, | ||
| int | $question_fi, | ||
| string | $original_filename, | ||
| string | $file_path | ||
| ) |
Definition at line 104 of file class.ilTestArchiver.php.
| ilTestArchiver::handInParticipantUploadedResults | ( | int | $active_fi, |
| int | $pass, | ||
| ilObjTest | $tst_obj | ||
| ) |
Definition at line 165 of file class.ilTestArchiver.php.
References ilObjTest\getQuestionDataset(), and ilObjTest\getTextAnswer().
Here is the call graph for this function:| ilTestArchiver::handInTestBestSolution | ( | string | $best_solution | ) |
Definition at line 141 of file class.ilTestArchiver.php.
| ilTestArchiver::handInTestResult | ( | int | $active_fi, |
| int | $pass, | ||
| string | $pdf_path | ||
| ) |
Definition at line 232 of file class.ilTestArchiver.php.
|
protected |
Definition at line 332 of file class.ilTestArchiver.php.
|
protected |
Definition at line 399 of file class.ilTestArchiver.php.
|
protected |
Definition at line 241 of file class.ilTestArchiver.php.
| ilTestArchiver::hasZipExportDirectory | ( | ) |
Definition at line 304 of file class.ilTestArchiver.php.
|
private |
Definition at line 704 of file class.ilTestArchiver.php.
|
protected |
The Archive Data Index is a csv-file containing the following columns <active_fi>|<pass>|<yyyy>|<mm>||<directory>
@noinspection PhpUsageOfSilenceOperatorInspection
Definition at line 450 of file class.ilTestArchiver.php.
| ilTestArchiver::setParticipantData | ( | ilTestParticipantData | $participant_data | ) |
Definition at line 99 of file class.ilTestArchiver.php.
References $participant_data.
| ilTestArchiver::updateTestArchive | ( | ) |
Definition at line 266 of file class.ilTestArchiver.php.
References $filename.
|
private |
Definition at line 61 of file class.ilTestArchiver.php.
|
private |
Definition at line 60 of file class.ilTestArchiver.php.
|
private |
Definition at line 59 of file class.ilTestArchiver.php.
|
protected |
Definition at line 63 of file class.ilTestArchiver.php.
|
protected |
Definition at line 65 of file class.ilTestArchiver.php.
Referenced by getParticipantData(), and setParticipantData().
|
protected |
Definition at line 67 of file class.ilTestArchiver.php.
|
private |
Definition at line 57 of file class.ilTestArchiver.php.
|
private |
Definition at line 56 of file class.ilTestArchiver.php.
| const ilTestArchiver::DIR_SEP = DIRECTORY_SEPARATOR |
Definition at line 39 of file class.ilTestArchiver.php.
| const ilTestArchiver::EXPORT_DIRECTORY = 'archive_exports' |
Definition at line 41 of file class.ilTestArchiver.php.
|
private |
Definition at line 47 of file class.ilTestArchiver.php.
|
private |
Definition at line 53 of file class.ilTestArchiver.php.
|
private |
Definition at line 52 of file class.ilTestArchiver.php.
|
private |
Definition at line 43 of file class.ilTestArchiver.php.
|
private |
Definition at line 44 of file class.ilTestArchiver.php.
|
private |
Definition at line 46 of file class.ilTestArchiver.php.
|
private |
Definition at line 55 of file class.ilTestArchiver.php.
|
private |
Definition at line 48 of file class.ilTestArchiver.php.
|
private |
Definition at line 50 of file class.ilTestArchiver.php.