ILIAS  release_7 Revision v7.30-3-g800a261c036
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
43 public function __construct(
44 $answertext = '',
45 $points_checked = 0.0,
46 $order = 0,
48 $a_image = '',
49 $id = -1
50 ) {
52 $this->image = $a_image;
53 }
54
55
65 public function getImage()
66 {
67 return $this->image;
68 }
69
79 public function setImage($a_image = 0)
80 {
81 $this->image = $a_image;
82 }
83}
ASS_AnswerBinaryStateImage is a class for answers with a binary state indicator (checked/unchecked,...
setImage($a_image=0)
Sets the image filename.
__construct( $answertext='', $points_checked=0.0, $order=0, $points_unchecked=0, $a_image='', $id=-1)
ASS_AnswerMultipleResponse constructor.
Class for true/false or yes/no answers.
An exception for terminatinating execution or to throw for unit testing.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc