Stud.IP  5.4
EvaluationGroup Class Reference
Inheritance diagram for EvaluationGroup:
EvaluationObject StudipObject AuthorObject

Public Member Functions

 __construct ($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
 __construct ($objectID="", $parentObject=NULL, $loadChildren=EVAL_LOAD_NO_CHILDREN)
 setTitle ($title)
 getTitle ()
 setText ($text)
 getText ()
 setPosition ($position)
 getPosition ()
 setParentObject (&$parentObject)
 getParentObject ()
 getParentID ()
 setParentID ($parentID)
 removeChildID ($childID)
 addChild (&$child)
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
 __construct ($objectID="")
 getObjectID ()
 setObjectID ($objectID)
 getAuthorID ()
 getAuthor ()
 getFullName ()
 setAuthorID ($authorID)
 getRangeID ()
 setRangeID ($rangeID)
- Public Member Functions inherited from AuthorObject
 __construct ()
 x_instanceof ()
 isError ()
 getErrors ()
 resetErrors ()
 throwError ($errcode, $errstring)
 throwErrorFromClass (AuthorObject $class)

Data Fields

- Data Fields inherited from EvaluationObject
- Data Fields inherited from StudipObject
- Data Fields inherited from AuthorObject

Additional Inherited Members

- Static Public Member Functions inherited from StudipObject
static createNewID ()

Constructor & Destructor Documentation

◆ __construct()

__construct (   $objectID = "",
  $parentObject = null,
  $loadChildren = EVAL_LOAD_NO_CHILDREN 

Constructor public

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

Member Function Documentation

◆ addChild()

addChild ( $child)

Adds a child public

objectEvaluationObject &$child The child object

◆ getChildType()

getChildType ( )

Returns wheter the childs are groups or questions public

◆ getTemplateID()

getTemplateID ( )

Gets the template id public

string The template id

◆ isMandatory()

isMandatory ( )

Is it mandatory to answer sub questions? public

boolean YES if it is true, else NO

◆ setChildType()

setChildType (   $childType)

Defines which type of childs the group have public

string$childTypeThe child type

◆ setMandatory()

setMandatory (   $boolean)

Is it mandatory to answer sub questions public

boolean$booleantrue if it is mandatory

◆ setTemplateID()

setTemplateID (   $templateID)

Sets the template id public

string$templateIDThe template id

Field Documentation

◆ $childType

string $childType

Possible Type of thechildren private

◆ $mandatory

boolean $mandatory

Is it mandatory to answer sub questions private

◆ $templateID

string $templateID

ID of the templateID for the childs private

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