ILIAS  release_8 Revision v8.24
class.assAnswerBinaryStateImage.php
Go to the documentation of this file.
1<?php
18require_once './Modules/TestQuestionPool/classes/class.assAnswerBinaryState.php';
19
36{
42 protected $image;
43
54 public function __construct($answertext = "", $points = 0.0, $order = 0, $state = 0, $a_image = "", int $id = -1)
55 {
57 $this->image = $a_image;
58 }
59
68 public function getImage(): string
69 {
70 return $this->image ?? '';
71 }
72
80 public function setImage($a_image = ''): void
81 {
82 $this->image = $a_image;
83 }
84}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setImage($a_image='')
Sets the image filename.
__construct($answertext="", $points=0.0, $order=0, $state=0, $a_image="", int $id=-1)
ASS_AnswerBinaryStateImage constructor The constructor takes possible arguments an creates an instanc...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc