Stud.IP
5.4
|
Public Member Functions | |
__construct ($objectID="", $parentObject=null, $loadChildren=EVAL_LOAD_NO_CHILDREN) | |
getChildType () | |
addChild (&$child) | |
setChildType ($childType) | |
setMandatory ($boolean) | |
isMandatory () | |
getTemplateID () | |
setTemplateID ($templateID) | |
![]() | |
__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 () | |
![]() | |
__construct ($objectID="") | |
getObjectID () | |
setObjectID ($objectID) | |
getAuthorID () | |
getAuthor () | |
getFullname () | |
setAuthorID ($authorID) | |
getRangeID () | |
setRangeID ($rangeID) | |
![]() | |
__construct () | |
x_instanceof () | |
isError () | |
getErrors () | |
resetErrors () | |
throwError ($errcode, $errstring) | |
throwErrorFromClass (AuthorObject $class) | |
Data Fields | |
$childType | |
$mandatory | |
$templateID | |
![]() | |
$parentObject | |
$parentObjectID | |
$childObjects | |
$numberChildren | |
$title | |
$text | |
$position | |
$db | |
$childNum | |
$loadChildren | |
![]() | |
$objectID | |
$authorID | |
$rangeID | |
![]() | |
$errorArray | |
$instanceof | |
Additional Inherited Members | |
![]() | |
static | createNewID () |
__construct | ( | $objectID = "" , |
|
$parentObject = null , |
|||
$loadChildren = EVAL_LOAD_NO_CHILDREN |
|||
) |
Constructor public
string | $objectID | The ID of an existing group |
EvaluationObject | $parentObject | The parent object if exists |
string | $loadChildren | See const EVAL_LOAD_*_CHILDREN |
addChild | ( | & | $child | ) |
Adds a child public
object | EvaluationObject &$child The child object |
getChildType | ( | ) |
Returns wheter the childs are groups or questions public
getTemplateID | ( | ) |
Gets the template id public
isMandatory | ( | ) |
Is it mandatory to answer sub questions? public
setChildType | ( | $childType | ) |
Defines which type of childs the group have public
string | $childType | The child type |
setMandatory | ( | $boolean | ) |
Is it mandatory to answer sub questions public
boolean | $boolean | true if it is mandatory |
setTemplateID | ( | $templateID | ) |
Sets the template id public
string | $templateID | The template id |
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