ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.assAnswerMultipleResponseImage.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4include_once "./Modules/TestQuestionPool/classes/class.assAnswerMultipleResponse.php";
5include_once "./Modules/Test/classes/inc.AssessmentConstants.php";
6
20{
28 public $image;
29
42 public function __construct(
43 $answertext = "",
44 $points_checked = 0.0,
45 $order = 0,
47 $a_image = "",
48 $id = -1
49 ) {
50 parent::__construct($answertext, $points_checked, $order, $points_unchecked, $id);
51 $this->image = $a_image;
52 }
53
54
64 public function getImage()
65 {
66 return $this->image;
67 }
68
78 public function setImage($a_image = 0)
79 {
80 $this->image = $a_image;
81 }
82}
ASS_AnswerBinaryStateImage is a class for answers with a binary state indicator (checked/unchecked,...
__construct( $answertext="", $points_checked=0.0, $order=0, $points_unchecked=0, $a_image="", $id=-1)
ASS_AnswerMultipleResponse constructor.
setImage($a_image=0)
Sets the image filename.
Class for true/false or yes/no answers.
An exception for terminatinating execution or to throw for unit testing.