|
| | __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="") |
| |
| | createNewID () |
| |
| | getObjectID () |
| |
| | setObjectID ($objectID) |
| |
| | getAuthorID () |
| |
| | getAuthor () |
| |
| | getFullname () |
| |
| | setAuthorID ($authorID) |
| |
| | getRangeID () |
| |
| | setRangeID ($rangeID) |
| |
| | __construct () |
| |
| | 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) |
| |
◆ __construct()
Constructor @access public
- Parameters
-
| string | $objectID | The ID of an existing question |
| object | $parentObject | The parent object if exists |
| integer | $loadChildren | See const EVAL_LOAD_*_CHILDREN |
Reimplemented from EvaluationObject.
◆ addChild()
Adds a child and sets the value to pos+1 @access public
- Parameters
-
- Exceptions
-
Reimplemented from EvaluationObject.
◆ getType()
Sets the type of a question @access public
- Returns
- string The type of the question.('likert','multiplechoice','pol')
◆ isMultiplechoice()
Checks for multiplechoice @access public
- Returns
- boolean YES if it is an multiplechoice question
◆ setMultiplechoice()
| setMultiplechoice |
( |
|
$multiplechoice | ) |
|
Sets multiplechoice value of a question @access public
- Parameters
-
| $tinyint | The multiplechoice Value. |
◆ setType()
Sets the type of a question @access public
- Parameters
-
| string | $type | The type of the question. ('skala','normal','pol') |
◆ $isMultiplechoice
If set YES it is allowed to choose more than one answer @access private
◆ $type
Type of question (skala/normal) => see EVALQUESTION_TYPE_* @access private
The documentation for this class was generated from the following file: