|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Collaboration diagram for ilAssFileUploadUploadsExporter:Public Member Functions | |
| __construct (ilDBInterface $db, ilLanguage $lng) | |
| getRefId () | |
| setRefId ($refId) | |
| getTestId () | |
| setTestId ($testId) | |
| getTestTitle () | |
| setTestTitle ($testTitle) | |
| getQuestion () | |
| setQuestion ($question) | |
| build () | |
| getFinalZipFilePath () | |
| getDispoZipFileName () | |
| getZipFileMimeType () | |
Data Fields | |
| const | ZIP_FILE_MIME_TYPE = 'application/zip' |
| const | ZIP_FILE_EXTENSION = '.zip' |
Protected Attributes | |
| $db | |
| $lng | |
| $refId | |
Private Member Functions | |
| initFilenames () | |
| getFileUploadSolutionData () | |
| getParticipantData ($solutionData) | |
| collectUploadedFiles ($solutionData, ilTestParticipantData $participantData) | |
| getPassSubDirName ($pass) | |
| createFileUploadCollectionZipFile () | |
| removeFileUploadCollection () | |
Private Attributes | |
| $testId | |
| $testTitle | |
| $question | |
| $finalZipFilePath | |
| $tempZipFilePath | |
| $tempDirPath | |
| $mainFolderName | |
Definition at line 11 of file class.ilAssFileUploadUploadsExporter.php.
| ilAssFileUploadUploadsExporter::__construct | ( | ilDBInterface | $db, |
| ilLanguage | $lng | ||
| ) |
| ilDBInterface | $db |
Definition at line 69 of file class.ilAssFileUploadUploadsExporter.php.
| ilAssFileUploadUploadsExporter::build | ( | ) |
Definition at line 142 of file class.ilAssFileUploadUploadsExporter.php.
References collectUploadedFiles(), createFileUploadCollectionZipFile(), getFileUploadSolutionData(), getParticipantData(), initFilenames(), and removeFileUploadCollection().
Here is the call graph for this function:
|
private |
Definition at line 223 of file class.ilAssFileUploadUploadsExporter.php.
References $files, $pass, ilTestParticipantData\getActiveIds(), ilTestParticipantData\getFileSystemCompliantFullnameByActiveId(), getPassSubDirName(), getTestId(), and ilUtil\makeDirParents().
Referenced by build().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 260 of file class.ilAssFileUploadUploadsExporter.php.
References ilLoggerFactory\getRootLogger(), ilFileUtils\rename(), and ilUtil\zip().
Referenced by build().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssFileUploadUploadsExporter::getDispoZipFileName | ( | ) |
Definition at line 285 of file class.ilAssFileUploadUploadsExporter.php.
References ilUtil\getASCIIFilename().
Here is the call graph for this function:
|
private |
Definition at line 168 of file class.ilAssFileUploadUploadsExporter.php.
References $query, $res, and $row.
Referenced by build().
Here is the caller graph for this function:| ilAssFileUploadUploadsExporter::getFinalZipFilePath | ( | ) |
Definition at line 280 of file class.ilAssFileUploadUploadsExporter.php.
References $finalZipFilePath.
|
private |
Definition at line 204 of file class.ilAssFileUploadUploadsExporter.php.
References ilTestParticipantAccessFilter\getAccessStatisticsUserFilter(), getRefId(), and getTestId().
Referenced by build().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 255 of file class.ilAssFileUploadUploadsExporter.php.
References $pass.
Referenced by collectUploadedFiles().
Here is the caller graph for this function:| ilAssFileUploadUploadsExporter::getQuestion | ( | ) |
Definition at line 126 of file class.ilAssFileUploadUploadsExporter.php.
References $question.
| ilAssFileUploadUploadsExporter::getRefId | ( | ) |
Definition at line 78 of file class.ilAssFileUploadUploadsExporter.php.
References $refId.
Referenced by getParticipantData().
Here is the caller graph for this function:| ilAssFileUploadUploadsExporter::getTestId | ( | ) |
Definition at line 94 of file class.ilAssFileUploadUploadsExporter.php.
References $testId.
Referenced by collectUploadedFiles(), and getParticipantData().
Here is the caller graph for this function:| ilAssFileUploadUploadsExporter::getTestTitle | ( | ) |
Definition at line 110 of file class.ilAssFileUploadUploadsExporter.php.
References $testTitle.
Referenced by initFilenames().
Here is the caller graph for this function:| ilAssFileUploadUploadsExporter::getZipFileMimeType | ( | ) |
Definition at line 292 of file class.ilAssFileUploadUploadsExporter.php.
References ZIP_FILE_MIME_TYPE.
|
private |
Definition at line 157 of file class.ilAssFileUploadUploadsExporter.php.
References ilUtil\getASCIIFilename(), getTestTitle(), ilUtil\ilTempnam(), and ZIP_FILE_EXTENSION.
Referenced by build().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 275 of file class.ilAssFileUploadUploadsExporter.php.
References ilUtil\delDir().
Referenced by build().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssFileUploadUploadsExporter::setQuestion | ( | $question | ) |
| ilObjFileHandlingQuestionType | $question |
Definition at line 134 of file class.ilAssFileUploadUploadsExporter.php.
References $question.
| ilAssFileUploadUploadsExporter::setRefId | ( | $refId | ) |
| int | $refId |
Definition at line 86 of file class.ilAssFileUploadUploadsExporter.php.
References $refId.
| ilAssFileUploadUploadsExporter::setTestId | ( | $testId | ) |
| int | $testId |
Definition at line 102 of file class.ilAssFileUploadUploadsExporter.php.
References $testId.
| ilAssFileUploadUploadsExporter::setTestTitle | ( | $testTitle | ) |
| string | $testTitle |
Definition at line 118 of file class.ilAssFileUploadUploadsExporter.php.
References $testTitle.
|
protected |
Definition at line 19 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by __construct().
|
private |
Definition at line 49 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by getFinalZipFilePath().
|
protected |
Definition at line 24 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by __construct().
|
private |
Definition at line 64 of file class.ilAssFileUploadUploadsExporter.php.
|
private |
Definition at line 44 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by getQuestion(), and setQuestion().
|
protected |
Definition at line 29 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by getRefId(), and setRefId().
|
private |
Definition at line 59 of file class.ilAssFileUploadUploadsExporter.php.
|
private |
Definition at line 54 of file class.ilAssFileUploadUploadsExporter.php.
|
private |
Definition at line 34 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by getTestId(), and setTestId().
|
private |
Definition at line 39 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by getTestTitle(), and setTestTitle().
| const ilAssFileUploadUploadsExporter::ZIP_FILE_EXTENSION = '.zip' |
Definition at line 14 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by initFilenames().
| const ilAssFileUploadUploadsExporter::ZIP_FILE_MIME_TYPE = 'application/zip' |
Definition at line 13 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by getZipFileMimeType().