|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ASS_AnswerMatching:Public Member Functions | |
| __construct ( $points=0.0, $term_id=0, $picture_or_definition="", $picture_or_definition_id=0) | |
| ASS_AnswerMatching constructor. More... | |
| getPoints () | |
| Gets the points. More... | |
| getTermId () | |
| Gets the term id. More... | |
| getPicture () | |
| Gets the picture. More... | |
| getDefinition () | |
| Gets the definition. More... | |
| getPictureId () | |
| Gets the picture identifier. More... | |
| getDefinitionId () | |
| Gets the definition identifier. More... | |
| setTermId ($term_id=0) | |
| Sets the term id. More... | |
| setPictureId (int $picture_id=0) | |
| Sets the picture id Sets the nonnegative picture identifier which can be used for sorting or displaying matching pairs. More... | |
| setDefinitionId (int $definition_id=0) | |
| Sets the definition id Sets the nonnegative definition identifier which can be used for sorting or displaying matching pairs. More... | |
| setPicture (string $picture="") | |
| Sets the picture Sets the picture. More... | |
| setDefinition (string $definition="") | |
| Sets the definition Sets the definition. More... | |
| setPoints (float $points=0.0) | |
| Sets the points Sets the points given for selecting the answer. More... | |
Data Fields | |
| float | $points |
| $picture_or_definition | |
| $term_id | |
| $picture_or_definition_id | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class for matching question answers
ASS_AnswerSimple is a class for matching question answers
Definition at line 29 of file class.assAnswerMatching.php.
| ASS_AnswerMatching::__construct | ( | $points = 0.0, |
|
$term_id = 0, |
|||
$picture_or_definition = "", |
|||
$picture_or_definition_id = 0 |
|||
| ) |
ASS_AnswerMatching constructor.
The constructor takes possible arguments an creates an instance of the ASS_AnswerMatching object.
| string | $answertext | A string defining the answer text |
| double | $points | The number of points given for the selected answer |
| integer | $order | A nonnegative value representing a possible display or sort order |
| string | $matchingtext | A string defining the matching text for the answer text @access public |
Definition at line 71 of file class.assAnswerMatching.php.
References $picture_or_definition, $picture_or_definition_id, $points, and $term_id.
| ASS_AnswerMatching::getDefinition | ( | ) |
Gets the definition.
Returns the definition
Definition at line 130 of file class.assAnswerMatching.php.
References $picture_or_definition.
| ASS_AnswerMatching::getDefinitionId | ( | ) |
Gets the definition identifier.
Returns the definition identifier
Definition at line 156 of file class.assAnswerMatching.php.
References $picture_or_definition_id.
| ASS_AnswerMatching::getPicture | ( | ) |
Gets the picture.
Returns the picture
Definition at line 117 of file class.assAnswerMatching.php.
References $picture_or_definition.
| ASS_AnswerMatching::getPictureId | ( | ) |
Gets the picture identifier.
Returns the picture identifier
Definition at line 143 of file class.assAnswerMatching.php.
References $picture_or_definition_id.
| ASS_AnswerMatching::getPoints | ( | ) |
Gets the points.
Returns the points
Definition at line 91 of file class.assAnswerMatching.php.
References $points.
| ASS_AnswerMatching::getTermId | ( | ) |
Gets the term id.
Returns a nonnegative identifier for the term
Definition at line 104 of file class.assAnswerMatching.php.
References $term_id.
| ASS_AnswerMatching::setDefinition | ( | string | $definition = "" | ) |
Sets the definition Sets the definition.
| string | $definition | Definition @access public |
Definition at line 224 of file class.assAnswerMatching.php.
| ASS_AnswerMatching::setDefinitionId | ( | int | $definition_id = 0 | ) |
Sets the definition id Sets the nonnegative definition identifier which can be used for sorting or displaying matching pairs.
| integer | $definition_id | A nonnegative integer @access public |
Definition at line 198 of file class.assAnswerMatching.php.
| ASS_AnswerMatching::setPicture | ( | string | $picture = "" | ) |
Sets the picture Sets the picture.
| string | $picture | Picture @access public |
Definition at line 212 of file class.assAnswerMatching.php.
| ASS_AnswerMatching::setPictureId | ( | int | $picture_id = 0 | ) |
Sets the picture id Sets the nonnegative picture identifier which can be used for sorting or displaying matching pairs.
| integer | $picture_id | A nonnegative integer @access public |
Definition at line 184 of file class.assAnswerMatching.php.
| ASS_AnswerMatching::setPoints | ( | float | $points = 0.0 | ) |
Sets the points Sets the points given for selecting the answer.
| double | $points | The points given for the answer @access public |
Definition at line 237 of file class.assAnswerMatching.php.
References $points.
| ASS_AnswerMatching::setTermId | ( | $term_id = 0 | ) |
Sets the term id.
Sets the nonnegative term identifier which can be used for sorting or displaying matching pairs
| integer | $term_id | A nonnegative integer @access public |
Definition at line 170 of file class.assAnswerMatching.php.
References $term_id.
| ASS_AnswerMatching::$picture_or_definition |
Definition at line 40 of file class.assAnswerMatching.php.
Referenced by __construct(), getDefinition(), and getPicture().
| ASS_AnswerMatching::$picture_or_definition_id |
Definition at line 58 of file class.assAnswerMatching.php.
Referenced by __construct(), getDefinitionId(), and getPictureId().
| float ASS_AnswerMatching::$points |
Definition at line 31 of file class.assAnswerMatching.php.
Referenced by __construct(), getPoints(), and setPoints().
| ASS_AnswerMatching::$term_id |
Definition at line 49 of file class.assAnswerMatching.php.
Referenced by __construct(), getTermId(), and setTermId().