ILIAS
release_8 Revision v8.19
|
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 25 of file class.ilAssFileUploadUploadsExporter.php.
ilAssFileUploadUploadsExporter::__construct | ( | ilDBInterface | $db, |
ilLanguage | $lng | ||
) |
ilDBInterface | $db |
Definition at line 83 of file class.ilAssFileUploadUploadsExporter.php.
References $db, $lng, and ILIAS\Repository\lng().
ilAssFileUploadUploadsExporter::build | ( | ) |
Definition at line 153 of file class.ilAssFileUploadUploadsExporter.php.
References collectUploadedFiles(), createFileUploadCollectionZipFile(), getFileUploadSolutionData(), getParticipantData(), initFilenames(), and removeFileUploadCollection().
|
private |
Definition at line 234 of file class.ilAssFileUploadUploadsExporter.php.
References ilTestParticipantData\getActiveIds(), ilTestParticipantData\getFileSystemCompliantFullnameByActiveId(), getPassSubDirName(), getTestId(), and ilFileUtils\makeDirParents().
Referenced by build().
|
private |
Definition at line 271 of file class.ilAssFileUploadUploadsExporter.php.
References Vendor\Package\$e, ilLoggerFactory\getRootLogger(), ilFileUtils\rename(), and ilFileUtils\zip().
Referenced by build().
ilAssFileUploadUploadsExporter::getDispoZipFileName | ( | ) |
Definition at line 295 of file class.ilAssFileUploadUploadsExporter.php.
References ilFileUtils\getASCIIFilename().
|
private |
Definition at line 179 of file class.ilAssFileUploadUploadsExporter.php.
References $query, $res, and getTestId().
Referenced by build().
ilAssFileUploadUploadsExporter::getFinalZipFilePath | ( | ) |
Definition at line 290 of file class.ilAssFileUploadUploadsExporter.php.
References $finalZipFilePath.
|
private |
Definition at line 215 of file class.ilAssFileUploadUploadsExporter.php.
References ilTestParticipantAccessFilter\getAccessStatisticsUserFilter(), getRefId(), getTestId(), and ILIAS\Repository\lng().
Referenced by build().
|
private |
Definition at line 266 of file class.ilAssFileUploadUploadsExporter.php.
References ILIAS\Repository\lng().
Referenced by collectUploadedFiles().
ilAssFileUploadUploadsExporter::getQuestion | ( | ) |
Definition at line 140 of file class.ilAssFileUploadUploadsExporter.php.
References $question.
ilAssFileUploadUploadsExporter::getRefId | ( | ) |
Definition at line 92 of file class.ilAssFileUploadUploadsExporter.php.
References $refId.
Referenced by getParticipantData().
ilAssFileUploadUploadsExporter::getTestId | ( | ) |
Definition at line 108 of file class.ilAssFileUploadUploadsExporter.php.
References $testId.
Referenced by collectUploadedFiles(), getFileUploadSolutionData(), and getParticipantData().
ilAssFileUploadUploadsExporter::getTestTitle | ( | ) |
Definition at line 124 of file class.ilAssFileUploadUploadsExporter.php.
References $testTitle.
Referenced by initFilenames().
ilAssFileUploadUploadsExporter::getZipFileMimeType | ( | ) |
Definition at line 302 of file class.ilAssFileUploadUploadsExporter.php.
|
private |
Definition at line 168 of file class.ilAssFileUploadUploadsExporter.php.
References ilFileUtils\getASCIIFilename(), getTestTitle(), and ilFileUtils\ilTempnam().
Referenced by build().
|
private |
Definition at line 285 of file class.ilAssFileUploadUploadsExporter.php.
References ilFileUtils\delDir().
Referenced by build().
ilAssFileUploadUploadsExporter::setQuestion | ( | $question | ) |
ilObjFileHandlingQuestionType | $question |
Definition at line 148 of file class.ilAssFileUploadUploadsExporter.php.
References $question.
ilAssFileUploadUploadsExporter::setRefId | ( | $refId | ) |
int | $refId |
Definition at line 100 of file class.ilAssFileUploadUploadsExporter.php.
References $refId.
ilAssFileUploadUploadsExporter::setTestId | ( | $testId | ) |
int | $testId |
Definition at line 116 of file class.ilAssFileUploadUploadsExporter.php.
References $testId.
ilAssFileUploadUploadsExporter::setTestTitle | ( | $testTitle | ) |
string | $testTitle |
Definition at line 132 of file class.ilAssFileUploadUploadsExporter.php.
References $testTitle.
|
protected |
Definition at line 33 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by __construct().
|
private |
Definition at line 63 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by getFinalZipFilePath().
|
protected |
Definition at line 38 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by __construct().
|
private |
Definition at line 78 of file class.ilAssFileUploadUploadsExporter.php.
|
private |
Definition at line 58 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by getQuestion(), and setQuestion().
|
protected |
Definition at line 43 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by getRefId(), and setRefId().
|
private |
Definition at line 73 of file class.ilAssFileUploadUploadsExporter.php.
|
private |
Definition at line 68 of file class.ilAssFileUploadUploadsExporter.php.
|
private |
Definition at line 48 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by getTestId(), and setTestId().
|
private |
Definition at line 53 of file class.ilAssFileUploadUploadsExporter.php.
Referenced by getTestTitle(), and setTestTitle().
const ilAssFileUploadUploadsExporter::ZIP_FILE_EXTENSION = '.zip' |
Definition at line 28 of file class.ilAssFileUploadUploadsExporter.php.
const ilAssFileUploadUploadsExporter::ZIP_FILE_MIME_TYPE = 'application/zip' |
Definition at line 27 of file class.ilAssFileUploadUploadsExporter.php.