ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 | ||
) |
ilAssFileUploadUploadsExporter::build | ( | ) |
Definition at line 121 of file class.ilAssFileUploadUploadsExporter.php.
References collectUploadedFiles(), createFileUploadCollectionZipFile(), getFileUploadSolutionData(), getParticipantData(), initFilenames(), and removeFileUploadCollection().
|
private |
Definition at line 199 of file class.ilAssFileUploadUploadsExporter.php.
References $file, $files, $pass, ilTestParticipantData\getFileSystemCompliantFullnameByActiveId(), getPassSubDirName(), getTestId(), and ilUtil\makeDirParents().
Referenced by build().
|
private |
Definition at line 232 of file class.ilAssFileUploadUploadsExporter.php.
References ilLoggerFactory\getRootLogger(), ilFileUtils\rename(), and ilUtil\zip().
Referenced by build().
ilAssFileUploadUploadsExporter::getDispoZipFileName | ( | ) |
Definition at line 257 of file class.ilAssFileUploadUploadsExporter.php.
References ilUtil\getASCIIFilename().
|
private |
Definition at line 147 of file class.ilAssFileUploadUploadsExporter.php.
References $query, $res, $row, array, and getTestId().
Referenced by build().
ilAssFileUploadUploadsExporter::getFinalZipFilePath | ( | ) |
Definition at line 252 of file class.ilAssFileUploadUploadsExporter.php.
References $finalZipFilePath.
|
private |
Definition at line 183 of file class.ilAssFileUploadUploadsExporter.php.
References array, and getTestId().
Referenced by build().
|
private |
Definition at line 227 of file class.ilAssFileUploadUploadsExporter.php.
References $pass.
Referenced by collectUploadedFiles().
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(), getFileUploadSolutionData(), and getParticipantData().
ilAssFileUploadUploadsExporter::getTestTitle | ( | ) |
Definition at line 89 of file class.ilAssFileUploadUploadsExporter.php.
References $testTitle.
Referenced by initFilenames().
ilAssFileUploadUploadsExporter::getZipFileMimeType | ( | ) |
Definition at line 264 of file class.ilAssFileUploadUploadsExporter.php.
|
private |
Definition at line 136 of file class.ilAssFileUploadUploadsExporter.php.
References ilUtil\getASCIIFilename(), getTestTitle(), and ilUtil\ilTempnam().
Referenced by build().
|
private |
Definition at line 247 of file class.ilAssFileUploadUploadsExporter.php.
References ilUtil\delDir().
Referenced by build().
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.
const ilAssFileUploadUploadsExporter::ZIP_FILE_MIME_TYPE = 'application/zip' |
Definition at line 13 of file class.ilAssFileUploadUploadsExporter.php.