|
| | EvaluationObject ($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 () |
| |
| | StudipObject ($objectID="") |
| |
| | createNewID () |
| |
| | getObjectID () |
| |
| | setObjectID ($objectID) |
| |
| | getAuthorID () |
| |
| | getAuthor () |
| |
| | getFullname () |
| |
| | setAuthorID ($authorID) |
| |
| | getRangeID () |
| |
| | setRangeID ($rangeID) |
| |
| | 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) |
| |
◆ addChild()
◆ check()
◆ delete()
Deletes the object from the database @access public
◆ duplicate()
Duplicates the evaluation object. WARNING: Stored childs will be modified :( @access public
◆ duplicate_init()
Initialisation for duplicated objects @access private
◆ EvaluationObject()
Constructor
- Parameters
-
| string | $objectID | The ID of an existing object |
| EvaluationObject | $parentObject | The parent object |
| integer | $loadChildren | See const EVAL_LOAD_*_CHILDREN @access public |
◆ getChild()
| & getChild |
( |
|
$childID = "" | ) |
|
Gets the first child and removes it (if no id is given) @access public
- Parameters
-
| string | $childID | The child id |
- Returns
- object The first object
◆ getChildren()
Gets all the childs in the object @access public
- Returns
- array An array full of childObjects
◆ getNextChild()
Gets the next child @access public
- Returns
- object The next object, otherwise NULL
◆ getNumberChildren()
Gets the number of children @access public
- Returns
- integer Number of children
◆ getParentID()
Gets the parentObjectID @access public
- Returns
- string The parentObjectID
◆ getParentObject()
Gets the parentObject @access public
- Returns
- object The parentObject.
◆ getPosition()
Gets the position @access public
- Returns
- string The position
◆ getSpecialChildobjects()
| getSpecialChildobjects |
( |
& |
$object, |
|
|
|
$instanceof, |
|
|
|
$reset = false |
|
) |
| |
Gets all children of a special kind
- Parameters
-
| EvaluationObject | &$object | the parent object |
| string | $instanceof | instance of the searched child |
| boolean | $reset | for internal use @access public |
◆ getText()
Gets the text @access public
- Returns
- string The text
◆ getTitle()
Gets the title @access public
- Returns
- string The title
◆ init()
Initialisation for objects @access private
- Parameters
-
| string | $objectID | The object id |
◆ load()
Loads the Object from the database @access private
◆ removeChildID()
| removeChildID |
( |
|
$childID | ) |
|
Removes a child from the object (not from the DB!) @access public
- Parameters
-
| string | $childID | The child id |
◆ save()
Saves the object into the database @access public
◆ setParentID()
Sets the parentObjectID @access public
- Parameters
-
| string | $parentID | The parent id |
◆ setParentObject()
| setParentObject |
( |
& |
$parentObject | ) |
|
Sets the parentObject @access public
- Parameters
-
| string | &$parentObject | The parentObject. |
◆ setPosition()
Sets the position @access public
- Parameters
-
| string | $position | The position. |
◆ setText()
Sets the text @access public
- Parameters
-
- Exceptions
-
◆ setTitle()
Sets the title @access public
- Parameters
-
- Exceptions
-
◆ toString()
◆ $childNum
Is used as a counter for getNextChild ) @access private
◆ $childObjects
Array with all linked childobjects @access private
◆ $db
Holds the DB object @access private
◆ $loadChildren
Defines how many children to load. See EVAL_LOAD_*_CHILDREN @access private
◆ $numberChildren
Counts the number of childs @access private
◆ $parentObject
The parent object @access private
◆ $parentObjectID
◆ $position
Position of this group in parent object @access private
◆ $text
Text of the group @access private
◆ $title
Title of the group @access private
The documentation for this class was generated from the following file: