Stud.IP
5.4
|
Public Member Functions | |
__construct ($objectID="", $parentObject=NULL, $loadChildren=EVAL_LOAD_NO_CHILDREN) | |
setType ($type) | |
getType () | |
setMultiplechoice ($multiplechoice) | |
isMultiplechoice () | |
addChild (&$child) | |
![]() | |
__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 | |
$type | |
$isMultiplechoice | |
$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 question |
object | $parentObject | The parent object if exists |
integer | $loadChildren | See const EVAL_LOAD_*_CHILDREN |
addChild | ( | & | $child | ) |
Adds a child and sets the value to pos+1 public
object | EvaluationObject &$child The child object |
error |
getType | ( | ) |
Sets the type of a question public
isMultiplechoice | ( | ) |
Checks for multiplechoice public
setMultiplechoice | ( | $multiplechoice | ) |
Sets multiplechoice value of a question public
$tinyint | The multiplechoice Value. |
setType | ( | $type | ) |
Sets the type of a question public
string | $type | The type of the question. ('skala','normal','pol') |
string $isMultiplechoice |
If set YES it is allowed to choose more than one answer private
$templateID |
string $type |
Type of question (skala/normal) => see EVALQUESTION_TYPE_* private