ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.assAnswerBinaryStateImage.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4require_once './Modules/TestQuestionPool/classes/class.assAnswerBinaryState.php';
5
22{
23
29 protected $image;
30
45 public function __construct( $answertext = "", $points = 0.0, $order = 0, $state = 0, $a_image = "", $id = -1 )
46 {
47 parent::__construct($answertext, $points, $order, $id);
48 $this->image = $a_image;
49 }
50
59 public function getImage()
60 {
61 return $this->image;
62 }
63
73 public function setImage($a_image = 0)
74 {
75 $this->image = $a_image;
76 }
77}
Class for answers with a binary state indicator.
__construct( $answertext="", $points=0.0, $order=0, $state=0, $a_image="", $id=-1)
ASS_AnswerBinaryStateImage constructor.
setImage($a_image=0)
Sets the image filename.
Class for true/false or yes/no answers.