Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
EvaluationGroupDB Class Reference
Inheritance diagram for EvaluationGroupDB:
EvaluationObjectDB DatabaseObject AuthorObject

Public Member Functions

 __construct ()
 
 load (&$groupObject)
 
 save (&$groupObject)
 
 delete (&$groupObject)
 
 exists ($groupID)
 
 getType ($objectID)
 
 getChildType ($objectID)
 
- Public Member Functions inherited from EvaluationObjectDB
 __construct ()
 
 getRangename ($rangeID, $html_decode=true)
 
 getValidRangeIDs (&$permObj, &$userObj, $rangeID)
 
 getPublicTemplateIDs ($searchString)
 
 getEvaluationIDs ($rangeID="", $state="")
 
 getEvalID ($objectID)
 
 getType ($objectID)
 
- Public Member Functions inherited from DatabaseObject
 __construct ()
 
 getObjectID ()
 
 setObjectID ($objectID)
 
 getAuthorID ()
 
 setAuthorID ($authorID)
 
 getRangeID ()
 
 setRangeID ($rangeID)
 
- Public Member Functions inherited from AuthorObject
 __construct ()
 
 x_instanceof ()
 
 isError ()
 
 getErrors ()
 
 resetErrors ()
 
 throwError ($errcode, $errstring)
 
 throwErrorFromClass (AuthorObject $class)
 

Static Public Member Functions

static addChildren (&$parentObject)
 
static getParentID ($objectID)
 
- Static Public Member Functions inherited from EvaluationObjectDB
static getGlobalPerm ($as_value=false)
 
static getRangePerm ($rangeID, $userID=NULL, $as_value=false)
 
static getEvalUserRangesWithNoPermission (&$eval, $return_ids=false)
 

Additional Inherited Members

- Data Fields inherited from DatabaseObject
 $authorID
 
 $objectID
 
 $rangeID
 
- Data Fields inherited from AuthorObject
 $errorArray
 
 $instanceof
 

Constructor & Destructor Documentation

__construct ( )

Constructor public

Member Function Documentation

static addChildren ( $parentObject)
static

Adds the children to a parent object public

Parameters
EvaluationObject&$parentObjectThe parent object
delete ( $groupObject)

Deletes a group public

Parameters
objectEvaluationGroup &$groupObject The group to delete
Exceptions
error
exists (   $groupID)

Checks if group with this ID exists public

Parameters
string$groupIDThe groupID
Returns
bool YES if exists
getChildType (   $objectID)

Returns whether the childs are groups or questions public

Parameters
string$objectIDThe object id
static getParentID (   $objectID)
static

Returns the id from the parent object public

Parameters
string$objectIDThe object id
Returns
string The id from the parent object
getType (   $objectID)

Returns the type of an objectID public

Parameters
string$objectIDThe objectID
Returns
string INSTANCEOF_x, else NO
load ( $groupObject)

Loads an evaluationgroup from DB into an object

private

Parameters
objectEvaluationGroup &$groupObject The group to load
Exceptions
error
save ( $groupObject)

Saves a group public

Parameters
objectEvaluationGroup &$groupObject The group to save
Exceptions
error

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