ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 | ||
) |
ilAssFileUploadUploadsExporter::build | ( | ) |
Definition at line 142 of file class.ilAssFileUploadUploadsExporter.php.
References collectUploadedFiles(), createFileUploadCollectionZipFile(), getFileUploadSolutionData(), getParticipantData(), initFilenames(), and removeFileUploadCollection().
|
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().
|
private |
Definition at line 260 of file class.ilAssFileUploadUploadsExporter.php.
References ilLoggerFactory\getRootLogger(), ilFileUtils\rename(), and ilUtil\zip().
Referenced by build().
ilAssFileUploadUploadsExporter::getDispoZipFileName | ( | ) |
Definition at line 285 of file class.ilAssFileUploadUploadsExporter.php.
References ilUtil\getASCIIFilename().
|
private |
Definition at line 168 of file class.ilAssFileUploadUploadsExporter.php.
References $query, $res, $row, and getTestId().
Referenced by build().
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().
|
private |
Definition at line 255 of file class.ilAssFileUploadUploadsExporter.php.
References $pass.
Referenced by collectUploadedFiles().
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().
ilAssFileUploadUploadsExporter::getTestId | ( | ) |
Definition at line 94 of file class.ilAssFileUploadUploadsExporter.php.
References $testId.
Referenced by collectUploadedFiles(), getFileUploadSolutionData(), and getParticipantData().
ilAssFileUploadUploadsExporter::getTestTitle | ( | ) |
Definition at line 110 of file class.ilAssFileUploadUploadsExporter.php.
References $testTitle.
Referenced by initFilenames().
ilAssFileUploadUploadsExporter::getZipFileMimeType | ( | ) |
Definition at line 292 of file class.ilAssFileUploadUploadsExporter.php.
|
private |
Definition at line 157 of file class.ilAssFileUploadUploadsExporter.php.
References ilUtil\getASCIIFilename(), getTestTitle(), and ilUtil\ilTempnam().
Referenced by build().
|
private |
Definition at line 275 of file class.ilAssFileUploadUploadsExporter.php.
References ilUtil\delDir().
Referenced by build().
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.
const ilAssFileUploadUploadsExporter::ZIP_FILE_MIME_TYPE = 'application/zip' |
Definition at line 13 of file class.ilAssFileUploadUploadsExporter.php.