Public Member Functions |
| Evaluation ($evalID="") |
| setTitle ($title) |
| getTitle () |
| getEvalID () |
| getChildren () |
| 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, $encoded=false) |
| getTitle ($escaped=false) |
| setText ($text, $encoded=false) |
| getText ($escaped=false) |
| setPosition ($position) |
| getPosition () |
| setParentObject (&$parentObject) |
| getParentObject () |
| getParentID () |
| setParentID ($parentID) |
| removeChildID ($childID) |
| addChild (&$child) |
& | getChild ($childID="") |
& | getNextChild () |
| getNumberChildren () |
| save () |
| delete () |
& | duplicate () |
| duplicate_init () |
| init ($objectID="") |
| load () |
| getSpecialChildobjects (&$object, $instanceof, $reset=false) |
| toString () |
| StudipObject ($objectID="") |
| createNewID () |
| getObjectID () |
| setObjectID ($objectID) |
| getAuthorID () |
| getAuthor () |
| getFullname () |
| setAuthorID ($authorID) |
| 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) |
Member Function Documentation
Adds a rangeID public
- Parameters
-
string | $rangeID | The rangeID |
- Exceptions
-
Checks if object is in a valid state private
Reimplemented from EvaluationObject.
Constructor public
- Parameters
-
string | $objectID | The ID of an existing evaluation |
object | $parentObject | The parent object if exists |
integer | $loadChildren | See const EVAL_LOAD_*_CHILDREN |
Constructor public
- Parameters
-
string | $evalID | The ID of an existing evaluation |
Gets the changedate public
- Returns
- integer The changedate
Gets all the groups in the evaluation public
- Returns
- array An array full of groupObjects
Reimplemented from EvaluationObject.
Gets the creationdate public
- Returns
- integer The creationdate
Gets the evalID public
- Returns
- string The evalID
Gets the next rangeID public
- Returns
- string The rangeID
Gets the number of ranges public
- Returns
- integer Number of ranges
Gets the first rangeID and removes it public
- Returns
- string The first object
Reimplemented from StudipObject.
Gets all the rangeIDs from the evaluation public
- Returns
- array An array full of rangeIDs
Gets the real stop date as a UNIX-timestamp (e.g. startdate + timespan) public
- Returns
- integer The UNIX-timestamp with the real stopdate
Gets the startdate public
- Returns
- integer The startdate
Gets the stopdate public
- Returns
- string The stopdate
Gets the timespan public
- Returns
- string The timespan
Gets the title public
- Returns
- string The title of a vote
Has a user used this evaluation? public
- Parameters
-
string | $userID | Optional an user id |
- Returns
- string YES if a user used this evaluation
Gets anonymous public
- Returns
- string The anonymous
Is shared for a public search? public
- Returns
- boolen true if it is shared template
Is this evaluation a template? public
- Returns
- boolen true if it is a template
Gets visible public
- Returns
- string The visible
removeRangeID |
( |
|
$rangeID | ) |
|
Removes a range from the object (not from the DB!) public
- Parameters
-
string | $rangeID | The range id |
Removes all rangeIDs public
Resets all answers for this evaluation public
setAnonymous |
( |
|
$anonymous | ) |
|
Sets anonymous public
- Parameters
-
string | $anonymous | The anonymous. |
- Exceptions
-
setChangedate |
( |
|
$changedate | ) |
|
umber);s ($filepointer, SEPERATOR);SEPERATOR);TOR); $number .=
($this->getPosition () + 1)."."; $this->exportHeader ($filepointer); _("Kann nicht in die Datei schreiben.")); * private *
- Parameters
-
integer | $changedate | The changedate. * |
- Exceptions
-
setCreationdate |
( |
|
$creationdate | ) |
|
Sets the creationdate private
- Parameters
-
integer | $creationdate | The creationdate. |
- Exceptions
-
Set shared for a public search public
- Parameters
-
boolean | $shared | if true it is shared |
setStartdate |
( |
|
$startdate | ) |
|
Sets the startdate public
- Parameters
-
integer | $startdate | The startdate. |
- Exceptions
-
Sets the stopdate public
- Parameters
-
integer | $stopdate | The stopdate. |
- Exceptions
-
Sets the timespan public
- Parameters
-
string | $timespan | The timespan. |
- Exceptions
-
Sets the title public
- Parameters
-
- Exceptions
-
Sets visible public
- Parameters
-
string | $visible | The visible. |
- Exceptions
-
Field Documentation
Defines wheter the evaluation is anonymous private
The unique userID of the author of the evaluation private
Time of last change. Is set automatically. private
The unique ID of the evaluation private
The group objects of the evaluation private
Defines whether a user had already used this evaluation private
Time of creation. Is set automatically. private
Counts the number of connected ranges private
The unique range IDs of the evaluation private
integer $resultvisibility |
Defines how to show the result. private
Defines whether the evaluation template is shared private
An text for description. private
The title of the evaluation. private
Defines whether the evaluation is visible private
The documentation for this class was generated from the following files: