|
| | Evaluation ($objectID="", $parentObject=null, $loadChildren=EVAL_LOAD_NO_CHILDREN) |
| |
| | setStartdate ($startdate) |
| |
| | getStartdate () |
| |
| | setStopdate ($stopdate) |
| |
| | getStopdate () |
| |
| | getRealStopdate () |
| |
| | setTimespan ($timespan) |
| |
| | getTimespan () |
| |
| | getCreationdate () |
| |
| | getChangedate () |
| |
| | setAnonymous ($anonymous) |
| |
| | isAnonymous () |
| |
| | setVisible ($visible) |
| |
| | isVisible () |
| |
| | setShared ($shared) |
| |
| | isShared () |
| |
| | isTemplate () |
| |
| | hasVoted ($userID="") |
| |
| | removeRangeID ($rangeID) |
| |
| | removeRangeIDs () |
| |
| | addRangeID ($rangeID) |
| |
| | getRangeID () |
| |
| | getNextRangeID () |
| |
| | getRangeIDs () |
| |
| | getNumberRanges () |
| |
| | resetAnswers () |
| |
| | setCreationdate ($creationdate) |
| |
| | setChangedate ($changedate) |
| |
| | check () |
| |
| | 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) |
| |
◆ addRangeID()
Adds a rangeID @access public
- Parameters
-
| string | $rangeID | The rangeID |
- Exceptions
-
◆ check()
Checks if object is in a valid state @access private
Reimplemented from EvaluationObject.
◆ Evaluation()
Constructor @access public
- Parameters
-
| string | $objectID | The ID of an existing evaluation |
| object | $parentObject | The parent object if exists |
| integer | $loadChildren | See const EVAL_LOAD_*_CHILDREN |
◆ getChangedate()
Gets the changedate @access public
- Returns
- integer The changedate
◆ getCreationdate()
Gets the creationdate @access public
- Returns
- integer The creationdate
◆ getNextRangeID()
Gets the next rangeID @access public
- Returns
- string The rangeID
◆ getNumberRanges()
Gets the number of ranges @access public
- Returns
- integer Number of ranges
◆ getRangeID()
Gets the first rangeID and removes it @access public
- Returns
- string The first object
Reimplemented from StudipObject.
◆ getRangeIDs()
Gets all the rangeIDs from the evaluation @access public
- Returns
- array An array full of rangeIDs
◆ getRealStopdate()
Gets the real stop date as a UNIX-timestamp (e.g. startdate + timespan) @access public
- Returns
- integer The UNIX-timestamp with the real stopdate
◆ getStartdate()
Gets the startdate @access public
- Returns
- integer The startdate
◆ getStopdate()
Gets the stopdate @access public
- Returns
- string The stopdate
◆ getTimespan()
Gets the timespan @access public
- Returns
- string The timespan
◆ hasVoted()
Has a user used this evaluation? @access public
- Parameters
-
| string | $userID | Optional an user id |
- Returns
- string YES if a user used this evaluation
◆ isAnonymous()
Gets anonymous @access public
- Returns
- string The anonymous
◆ isShared()
Is shared for a public search? @access public
- Returns
- boolen true if it is shared template
◆ isTemplate()
Is this evaluation a template? @access public
- Returns
- boolen true if it is a template
◆ isVisible()
Gets visible @access public
- Returns
- string The visible
◆ removeRangeID()
| removeRangeID |
( |
|
$rangeID | ) |
|
Removes a range from the object (not from the DB!) @access public
- Parameters
-
| string | $rangeID | The range id |
◆ removeRangeIDs()
Removes all rangeIDs @access public
◆ resetAnswers()
Resets all answers for this evaluation @access public
◆ setAnonymous()
| setAnonymous |
( |
|
$anonymous | ) |
|
Sets anonymous @access public
- Parameters
-
| string | $anonymous | The anonymous. |
- Exceptions
-
◆ setChangedate()
| setChangedate |
( |
|
$changedate | ) |
|
Sets the changedate @access private
- Parameters
-
| integer | $changedate | The changedate. |
- Exceptions
-
◆ setCreationdate()
| setCreationdate |
( |
|
$creationdate | ) |
|
Sets the creationdate @access private
- Parameters
-
| integer | $creationdate | The creationdate. |
- Exceptions
-
◆ setShared()
Set shared for a public search @access public
- Parameters
-
| boolean | $shared | if true it is shared |
◆ setStartdate()
| setStartdate |
( |
|
$startdate | ) |
|
Sets the startdate @access public
- Parameters
-
| integer | $startdate | The startdate. |
- Exceptions
-
◆ setStopdate()
Sets the stopdate @access public
- Parameters
-
| integer | $stopdate | The stopdate. |
- Exceptions
-
◆ setTimespan()
Sets the timespan @access public
- Parameters
-
| string | $timespan | The timespan. |
- Exceptions
-
◆ setVisible()
Sets visible @access public
- Parameters
-
| string | $visible | The visible. |
- Exceptions
-
◆ $anonymous
Defines wheter the evaluation is anonymous @access private
◆ $chdate
Time of last change. Is set automatically. @access private
◆ $mkdate
Time of creation. Is set automatically. @access private
◆ $numberRanges
Counts the number of connected ranges @access private
◆ $shared
Defines whether the evaluation template is shared @access private
◆ $startdate
Startdate @access private
◆ $stopdate
◆ $timespan
◆ $visible
Defines whether the evaluation is visible @access private
The documentation for this class was generated from the following file: