184 if ($picture_id >= 0) {
185 $this->picture_or_definition_id = $picture_id;
198 if ($definition_id >= 0) {
199 $this->picture_or_definition_id = $definition_id;
212 $this->picture_or_definition = $picture;
224 $this->picture_or_definition = $definition;
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct( $points=0.0, $term_id=0, $picture_or_definition="", $picture_or_definition_id=0)
ASS_AnswerMatching constructor.
setDefinition(string $definition="")
Sets the definition Sets the definition.
setPicture(string $picture="")
Sets the picture Sets the picture.
setPictureId(int $picture_id=0)
Sets the picture id Sets the nonnegative picture identifier which can be used for sorting or displayi...
getTermId()
Gets the term id.
$picture_or_definition_id
setPoints(float $points=0.0)
Sets the points Sets the points given for selecting the answer.
setDefinitionId(int $definition_id=0)
Sets the definition id Sets the nonnegative definition identifier which can be used for sorting or di...
getPictureId()
Gets the picture identifier.
getPicture()
Gets the picture.
getPoints()
Gets the points.
getDefinition()
Gets the definition.
setTermId($term_id=0)
Sets the term id.
getDefinitionId()
Gets the definition identifier.