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

Public Member Functions

 EvaluationGroup ($objectID="", $parentObject=null, $loadChildren=EVAL_LOAD_NO_CHILDREN)
 getChildType ()
 addChild (&$child)
 setChildType ($childType)
 setMandatory ($boolean)
 isMandatory ()
 getTemplateID ()
 setTemplateID ($templateID)
- Public Member Functions inherited from EvaluationObject
 EvaluationObject ($objectID="", $parentObject=NULL, $loadChildren=EVAL_LOAD_NO_CHILDREN)
 setTitle ($title, $encoded=false)
 getTitle ($escaped=false)
 setText ($text, $encoded=false)
 getText ($escaped=false)
 setPosition ($position)
 getPosition ()
 setParentObject (&$parentObject)
 getParentObject ()
 getParentID ()
 setParentID ($parentID)
 removeChildID ($childID)
getChild ($childID="")
getNextChild ()
 getChildren ()
 getNumberChildren ()
 save ()
 delete ()
duplicate ()
 duplicate_init ()
 init ($objectID="")
 load ()
 check ()
 getSpecialChildobjects (&$object, $instanceof, $reset=false)
 toString ()
- Public Member Functions inherited from StudipObject
 StudipObject ($objectID="")
 createNewID ()
 getObjectID ()
 setObjectID ($objectID)
 getAuthorID ()
 getAuthor ()
 getFullname ()
 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)

Data Fields

 $childType
 $mandatory
 $templateID
- Data Fields inherited from EvaluationObject
 $parentObject
 $parentObjectID
 $childObjects
 $numberChildren
 $title
 $text
 $position
 $db
 $childNum
 $loadChildren
- Data Fields inherited from StudipObject
 $objectID
 $authorID
 $rangeID
- Data Fields inherited from AuthorObject
 $errorArray
 $authorEmail
 $authorName
 $instanceof

Member Function Documentation

addChild ( $child)

Adds a child public

Parameters
objectEvaluationObject &$child The child object

Reimplemented from EvaluationObject.

Here is the caller graph for this function:

EvaluationGroup (   $objectID = "",
  $parentObject = null,
  $loadChildren = EVAL_LOAD_NO_CHILDREN 
)

Constructor public

Parameters
string$objectIDThe ID of an existing group
EvaluationObject$parentObjectThe parent object if exists
string$loadChildrenSee const EVAL_LOAD_*_CHILDREN

Here is the call graph for this function:

getChildType ( )

Returns wheter the childs are groups or questions public

getTemplateID ( )

Gets the template id public

Returns
string The template id
isMandatory ( )

Is it mandatory to answer sub questions? public

Returns
boolean YES if it is true, else NO
setChildType (   $childType)

Defines which type of childs the group have public

Parameters
string$childTypeThe child type
setMandatory (   $boolean)

Is it mandatory to answer sub questions public

Parameters
boolean$booleantrue if it is mandatory
setTemplateID (   $templateID)

Sets the template id public

Parameters
string$templateIDThe template id

Here is the call graph for this function:

Field Documentation

string $childType

Possible Type of thechildren private

boolean $mandatory

Is it mandatory to answer sub questions private

string $templateID

ID of the templateID for the childs private


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