|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Collaboration diagram for ilAssFileUploadUploadsExporter:Public Member Functions | |
| __construct (ilDBInterface $db, ilLanguage $lng) | |
| 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 | |
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 64 of file class.ilAssFileUploadUploadsExporter.php.
| ilAssFileUploadUploadsExporter::build | ( | ) |
Definition at line 121 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 199 of file class.ilAssFileUploadUploadsExporter.php.
References $file, $files, $pass, 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 232 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 257 of file class.ilAssFileUploadUploadsExporter.php.
References ilUtil\getASCIIFilename().
Here is the call graph for this function:
|
private |
Definition at line 147 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 252 of file class.ilAssFileUploadUploadsExporter.php.
References $finalZipFilePath.
|
private |
Definition at line 183 of file class.ilAssFileUploadUploadsExporter.php.
References getTestId().
Referenced by build().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 227 of file class.ilAssFileUploadUploadsExporter.php.
References $pass.
Referenced by collectUploadedFiles().
Here is the caller graph for this function:| ilAssFileUploadUploadsExporter::getQuestion | ( | ) |
Definition at line 105 of file class.ilAssFileUploadUploadsExporter.php.
References $question.
| ilAssFileUploadUploadsExporter::getTestId | ( | ) |
Definition at line 73 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 89 of file class.ilAssFileUploadUploadsExporter.php.
References $testTitle.
Referenced by initFilenames().
Here is the caller graph for this function:| ilAssFileUploadUploadsExporter::getZipFileMimeType | ( | ) |
Definition at line 264 of file class.ilAssFileUploadUploadsExporter.php.
References ZIP_FILE_MIME_TYPE.
|
private |
Definition at line 136 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 247 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 113 of file class.ilAssFileUploadUploadsExporter.php.
References $question.
| ilAssFileUploadUploadsExporter::setTestId | ( | $testId | ) |
| int | $testId |
Definition at line 81 of file class.ilAssFileUploadUploadsExporter.php.
References $testId.
| ilAssFileUploadUploadsExporter::setTestTitle | ( | $testTitle | ) |
| string | $testTitle |
Definition at line 97 of file class.ilAssFileUploadUploadsExporter.php.
References $testTitle.
|
protected |
Definition at line 19 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by __construct().
|
private |
Definition at line 44 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 59 of file class.ilAssFileUploadUploadsExporter.php.
|
private |
Definition at line 39 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by getQuestion(), and setQuestion().
|
private |
Definition at line 54 of file class.ilAssFileUploadUploadsExporter.php.
|
private |
Definition at line 49 of file class.ilAssFileUploadUploadsExporter.php.
|
private |
Definition at line 29 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by getTestId(), and setTestId().
|
private |
Definition at line 34 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().