ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilQTIRespcondition Class Reference
+ Collaboration diagram for ilQTIRespcondition:

Public Member Functions

 setContinue (string $a_continue)
 
 getContinue ()
 
 setTitle (string $a_title)
 
 getTitle ()
 
 setComment (string $a_comment)
 
 getComment ()
 
 setConditionvar (ilQTIConditionvar $a_conditionvar)
 
 getConditionvar ()
 
 addSetvar (ilQTISetvar $a_setvar)
 
 addDisplayfeedback (ilQTIDisplayfeedback $a_displayfeedback)
 

Data Fields

const CONTINUE_YES = "1"
 
const CONTINUE_NO = "2"
 
string $continue = null
 
string $title = null
 
string $comment = null
 
ilQTIConditionvar $conditionvar = null
 
array $setvar = []
 
array $displayfeedback = []
 

Detailed Description

Definition at line 30 of file class.ilQTIRespcondition.php.

Member Function Documentation

◆ addDisplayfeedback()

ilQTIRespcondition::addDisplayfeedback ( ilQTIDisplayfeedback  $a_displayfeedback)

Definition at line 98 of file class.ilQTIRespcondition.php.

98  : void
99  {
100  $this->displayfeedback[] = $a_displayfeedback;
101  }

◆ addSetvar()

ilQTIRespcondition::addSetvar ( ilQTISetvar  $a_setvar)

Definition at line 93 of file class.ilQTIRespcondition.php.

93  : void
94  {
95  $this->setvar[] = $a_setvar;
96  }

◆ getComment()

ilQTIRespcondition::getComment ( )

Definition at line 78 of file class.ilQTIRespcondition.php.

References $comment.

78  : ?string
79  {
80  return $this->comment;
81  }

◆ getConditionvar()

ilQTIRespcondition::getConditionvar ( )

Definition at line 88 of file class.ilQTIRespcondition.php.

References $conditionvar.

◆ getContinue()

ilQTIRespcondition::getContinue ( )

Definition at line 58 of file class.ilQTIRespcondition.php.

References $continue.

58  : ?string
59  {
60  return $this->continue;
61  }

◆ getTitle()

ilQTIRespcondition::getTitle ( )

Definition at line 68 of file class.ilQTIRespcondition.php.

References $title.

68  : ?string
69  {
70  return $this->title;
71  }

◆ setComment()

ilQTIRespcondition::setComment ( string  $a_comment)

Definition at line 73 of file class.ilQTIRespcondition.php.

References ILIAS\UI\examples\Symbol\Glyph\Comment\comment().

73  : void
74  {
75  $this->comment = $a_comment;
76  }
+ Here is the call graph for this function:

◆ setConditionvar()

ilQTIRespcondition::setConditionvar ( ilQTIConditionvar  $a_conditionvar)

Definition at line 83 of file class.ilQTIRespcondition.php.

83  : void
84  {
85  $this->conditionvar = $a_conditionvar;
86  }

◆ setContinue()

ilQTIRespcondition::setContinue ( string  $a_continue)

Definition at line 44 of file class.ilQTIRespcondition.php.

44  : void
45  {
46  switch (strtolower($a_continue)) {
47  case "1":
48  case "yes":
49  $this->continue = self::CONTINUE_YES;
50  break;
51  case "2":
52  case "no":
53  $this->continue = self::CONTINUE_NO;
54  break;
55  }
56  }

◆ setTitle()

ilQTIRespcondition::setTitle ( string  $a_title)

Definition at line 63 of file class.ilQTIRespcondition.php.

63  : void
64  {
65  $this->title = $a_title;
66  }

Field Documentation

◆ $comment

string ilQTIRespcondition::$comment = null

Definition at line 37 of file class.ilQTIRespcondition.php.

Referenced by getComment().

◆ $conditionvar

ilQTIConditionvar ilQTIRespcondition::$conditionvar = null

Definition at line 38 of file class.ilQTIRespcondition.php.

Referenced by getConditionvar().

◆ $continue

string ilQTIRespcondition::$continue = null

Definition at line 35 of file class.ilQTIRespcondition.php.

Referenced by getContinue().

◆ $displayfeedback

array ilQTIRespcondition::$displayfeedback = []

Definition at line 42 of file class.ilQTIRespcondition.php.

◆ $setvar

array ilQTIRespcondition::$setvar = []

Definition at line 40 of file class.ilQTIRespcondition.php.

◆ $title

string ilQTIRespcondition::$title = null

Definition at line 36 of file class.ilQTIRespcondition.php.

Referenced by getTitle().

◆ CONTINUE_NO

const ilQTIRespcondition::CONTINUE_NO = "2"

Definition at line 33 of file class.ilQTIRespcondition.php.

Referenced by ilQTIRespconditionTest\continues().

◆ CONTINUE_YES

const ilQTIRespcondition::CONTINUE_YES = "1"

Definition at line 32 of file class.ilQTIRespcondition.php.

Referenced by ilQTIRespconditionTest\continues().


The documentation for this class was generated from the following file: