Stud.IP  trunk Revision
EvaluationExportManager Class Reference
Inheritance diagram for EvaluationExportManager:
Inheritance graph
Collaboration diagram for EvaluationExportManager:
Collaboration graph

Public Member Functions

 __construct ($evalID)
 
 _EvaluationExportManager ()
 
 getTempFilename ()
 
 export ()
 
 getFilename ()
 
 getQuestionobjects (&$object)
 
 closeFile ()
 
 cleanUp ()
 
 createNewFile ()
 
- Public Member Functions inherited from AuthorObject
 __construct ()
 
 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
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $evalID)

Constructor public

Parameters
string$evalIDThe ID of the evaluation for export
Here is the call graph for this function:

Member Function Documentation

◆ _EvaluationExportManager()

_EvaluationExportManager ( )

Destructor. Closes all files and removes old temp files public

Here is the call graph for this function:

◆ cleanUp()

cleanUp ( )

Removes old temporary files private

Here is the call graph for this function:
Here is the caller graph for this function:

◆ closeFile()

closeFile ( )

Closes all opened files public

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createNewFile()

createNewFile ( )

Creates a new temporary file public

Here is the call graph for this function:
Here is the caller graph for this function:

◆ export()

export ( )

Exports the evaluation public

Here is the call graph for this function:

◆ getFilename()

getFilename ( )

Gets the filname for the user public

◆ getQuestionobjects()

getQuestionobjects ( $object)

Gets all questionobjects of the evaluation private

Parameters
EvaluationObject&$objectAn evaluationobject object
Here is the caller graph for this function:

◆ getTempFilename()

getTempFilename ( )

Returns the temnporary filename public

Returns
string The temporary filename

Field Documentation

◆ $eval

object Evaluation $eval

The evaluation to export private

◆ $evalID

string $evalID

The ID for the evaluation to export private

◆ $evalquestions

array $evalquestions

Array full of questionobjects private

◆ $extension

string $extension

The extension for the FILENAME private

◆ $filehandle

integer $filehandle

The filehandle for the temporary filename private

◆ $filename

string $filename

The temporary filename private

◆ $users

array $users

UserIDs of all persons which used the evaluation private


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