Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
EvaluationExportManager Class Reference
Inheritance diagram for EvaluationExportManager:
AuthorObject EvaluationExportManagerCSV

Public Member Functions

 __construct ($evalID)
 
 _EvaluationExportManager ()
 
 getTempFilename ()
 
 export ()
 
 getFilename ()
 
 getQuestionobjects (&$object)
 
 closeFile ()
 
 cleanUp ()
 
 createNewFile ()
 
- Public Member Functions inherited from AuthorObject
 __construct ()
 
 x_instanceof ()
 
 isError ()
 
 getErrors ()
 
 resetErrors ()
 
 throwError ($errcode, $errstring)
 
 throwErrorFromClass (AuthorObject $class)
 

Data Fields

 $filename
 
 $filehandle
 
 $evalID
 
 $eval
 
 $evalquestions
 
 $extension
 
 $users
 
- Data Fields inherited from AuthorObject
 $errorArray
 
 $instanceof
 

Constructor & Destructor Documentation

__construct (   $evalID)

Constructor public

Parameters
string$evalIDThe ID of the evaluation for export

Member Function Documentation

_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

export ( )

Exports the evaluation public

getFilename ( )

Gets the filname for the user public

getQuestionobjects ( $object)

Gets all questionobjects of the evaluation private

Parameters
EvaluationObject&$objectAn evaluationobject object
getTempFilename ( )

Returns the temnporary filename public

Returns
string The temporary filename

Field Documentation

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

$filehandle

The filehandle for the temporary filename private integer $filehandle

string $filename

The temporary filename private

array $users

UserIDs of all persons which used the evaluation private


The documentation for this class was generated from the following file: