ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
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
4
require_once
'./Modules/TestQuestionPool/classes/class.assAnswerBinaryState.php'
;
5
21
class
ASS_AnswerBinaryStateImage
extends
ASS_AnswerBinaryState
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
}
ASS_AnswerBinaryStateImage
Class for answers with a binary state indicator.
Definition:
class.assAnswerBinaryStateImage.php:21
ASS_AnswerBinaryStateImage\setImage
setImage($a_image=0)
Sets the image filename.
Definition:
class.assAnswerBinaryStateImage.php:73
ASS_AnswerBinaryState\$state
$state
Definition:
class.assAnswerBinaryState.php:35
ASS_AnswerSimple\$answertext
$answertext
Definition:
class.assAnswerSimple.php:27
ASS_AnswerSimple\$points
$points
Definition:
class.assAnswerSimple.php:36
ASS_AnswerSimple\$id
$id
Definition:
class.assAnswerSimple.php:54
ASS_AnswerBinaryStateImage\$image
$image
Definition:
class.assAnswerBinaryStateImage.php:29
ASS_AnswerBinaryStateImage\getImage
getImage()
Gets the image filename.
Definition:
class.assAnswerBinaryStateImage.php:59
ASS_AnswerBinaryStateImage\__construct
__construct($answertext="", $points=0.0, $order=0, $state=0, $a_image="", $id=-1)
ASS_AnswerBinaryStateImage constructor.
Definition:
class.assAnswerBinaryStateImage.php:45
php
ASS_AnswerSimple\$order
$order
Definition:
class.assAnswerSimple.php:45
ASS_AnswerBinaryState
Class for true/false or yes/no answers.
Definition:
class.assAnswerBinaryState.php:26
Modules
TestQuestionPool
classes
class.assAnswerBinaryStateImage.php
Generated on Thu Jan 16 2025 19:02:11 for ILIAS by
1.8.13 (using
Doxyfile
)