Stud.IP
2.0 Revision 48548
|
Public Member Functions | |
EvaluationExportManager ($evalID) | |
_EvaluationExportManager () | |
getTempFilename () | |
export () | |
getFilename () | |
getQuestionobjects (&$object) | |
closeFile () | |
cleanUp () | |
createNewFile () | |
Public Member Functions inherited from AuthorObject | |
AuthorObject () | |
finalize () | |
setAuthorEmail ($email) | |
getAuthorEmail () | |
setAuthorName ($name) | |
getAuthorName () | |
x_instanceof () | |
isError () | |
getErrors () | |
resetErrors () | |
throwError ($errcode, $errstring, $errline=0, $errfile=0, $errtype=ERROR_NORMAL) | |
throwErrorFromClass (&$class) | |
errorHandler ($no, $str, $file, $line, $ctx) |
Data Fields | |
$filename | |
$filehandle | |
$evalID | |
$eval | |
$evalquestions | |
$extension | |
$users | |
Data Fields inherited from AuthorObject | |
$errorArray | |
$authorEmail | |
$authorName | |
$instanceof |
_EvaluationExportManager | ( | ) |
Destructor. Closes all files and removes old temp files public
cleanUp | ( | ) |
Removes old temporary files private
closeFile | ( | ) |
Closes all opened files public
createNewFile | ( | ) |
Creates a new temporary file public
EvaluationExportManager | ( | $evalID | ) |
Constructor public
string | $evalID | The ID of the evaluation for export |
export | ( | ) |
Exports the evaluation public
Reimplemented in EvaluationExportManagerCSV.
getFilename | ( | ) |
Gets the filname for the user public
getQuestionobjects | ( | & | $object | ) |
Gets all questionobjects of the evaluation private
EvaluationObject | &$object | An evaluationobject object |
getTempFilename | ( | ) |
Returns the temnporary filename public
object Evaluation $eval |
The evaluation to export private
string $evalID |
The ID for the evaluation to export private
array $evalquestions |
Array full of questionobjects private
string $extension |
The extension for the FILENAME private
integer $filehandle |
The filehandle for the temporary filename private
string $filename |
The temporary filename private
array $users |
UserIDs of all persons which used the evaluation private