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

Public Member Functions

 EvaluationGroupDB ()
 load (&$groupObject)
 save (&$groupObject)
 delete (&$groupObject)
 exists ($groupID)
 addChildren (&$parentObject)
 getType ($objectID)
 getChildType ($objectID)
 getParentID ($objectID)
- Public Member Functions inherited from EvaluationObjectDB
 EvaluationObjectDB ()
 getRangename ($rangeID, $html_decode=true)
 getGlobalPerm ($as_value=false)
 getRangePerm ($rangeID, $userID=NULL, $as_value=false)
 getValidRangeIDs (&$permObj, &$userObj, $rangeID)
 getEvalUserRangesWithNoPermission (&$eval, $return_ids=false)
 getPublicTemplateIDs ($searchString)
 getEvaluationIDs ($rangeID="", $state="")
 getEvalID ($objectID)
- Public Member Functions inherited from DatabaseObject
 DatabaseObject ()
 getObjectID ()
 setObjectID ($objectID)
 getAuthorID ()
 setAuthorID ($authorID)
 getRangeID ()
 setRangeID ($rangeID)
- 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)

Additional Inherited Members

- Data Fields inherited from AuthorObject
 $errorArray
 $authorEmail
 $authorName
 $instanceof

Member Function Documentation

addChildren ( $parentObject)

Adds the children to a parent object public

Parameters
EvaluationObject&$parentObjectThe parent object

Here is the call graph for this function:

Here is the caller graph for this function:

delete ( $groupObject)

Deletes a group public

Parameters
objectEvaluationGroup &$groupObject The group to delete
Exceptions
error

Here is the call graph for this function:

Constructor public

Here is the call graph for this function:

exists (   $groupID)

Checks if group with this ID exists public

Parameters
string$groupIDThe groupID
Returns
bool YES if exists

Here is the call graph for this function:

Here is the caller graph for this function:

getChildType (   $objectID)

Returns whether the childs are groups or questions public

Parameters
string$objectIDThe object id

Here is the call graph for this function:

getParentID (   $objectID)

Returns the id from the parent object public

Parameters
string$objectIDThe object id
Returns
string The id from the parent object

Here is the call graph for this function:

Here is the caller graph for this function:

getType (   $objectID)

Returns the type of an objectID public

Parameters
string$objectIDThe objectID
Returns
string INSTANCEOF_x, else NO

Reimplemented from EvaluationObjectDB.

Here is the call graph for this function:

load ( $groupObject)

Loads an evaluationgroup from DB into an object

private

Parameters
objectEvaluationGroup &$groupObject The group to load
Exceptions
error

Here is the call graph for this function:

save ( $groupObject)

Saves a group public

Parameters
objectEvaluationGroup &$groupObject The group to save
Exceptions
error

Here is the call graph for this function:


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