Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
EvaluationExportManager Class Reference
Inheritance diagram for EvaluationExportManager:
Inheritance graph
Collaboration diagram for EvaluationExportManager:
Collaboration graph

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

Member Function Documentation

_EvaluationExportManager ( )

Destructor. Closes all files and removes old temp files public

Here is the call graph for this function:

cleanUp ( )

Removes old temporary files private

Here is the call graph for this function:

Here is the caller graph for this function:

closeFile ( )

Closes all opened files public

Here is the call graph for this function:

Here is the caller graph for this function:

createNewFile ( )

Creates a new temporary file public

Here is the call graph for this function:

Here is the caller graph for this function:

EvaluationExportManager (   $evalID)

Constructor public

Parameters
string$evalIDThe ID of the evaluation for export

Here is the call graph for this function:

Here is the caller graph for this function:

export ( )

Exports the evaluation public

Reimplemented in EvaluationExportManagerCSV.

Here is the call graph for this function:

getFilename ( )

Gets the filname for the user public

getQuestionobjects ( $object)

Gets all questionobjects of the evaluation private

Parameters
EvaluationObject&$objectAn evaluationobject object

Here is the caller graph for this function:

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

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


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