ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilQTIRespcondition Class Reference
+ Collaboration diagram for ilQTIRespcondition:

Public Member Functions

 __construct ()
 
 setContinue ($a_continue)
 
 getContinue ()
 
 setTitle ($a_title)
 
 getTitle ()
 
 setComment ($a_comment)
 
 getComment ()
 
 setConditionvar ($a_conditionvar)
 
 getConditionvar ()
 
 setRespcond_extension ($a_respcond_extension)
 
 getRespcond_extension ()
 
 addSetvar ($a_setvar)
 
 addDisplayfeedback ($a_displayfeedback)
 

Data Fields

 $continue
 
 $title
 
 $comment
 
 $conditionvar
 
 $setvar
 
 $displayfeedback
 
 $respcond_extension
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilQTIRespcondition::__construct ( )

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

46 {
47 $this->setvar = array();
48 $this->displayfeedback = array();
49 }

Member Function Documentation

◆ addDisplayfeedback()

ilQTIRespcondition::addDisplayfeedback (   $a_displayfeedback)

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

116 {
117 array_push($this->displayfeedback, $a_displayfeedback);
118 }

◆ addSetvar()

ilQTIRespcondition::addSetvar (   $a_setvar)

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

111 {
112 array_push($this->setvar, $a_setvar);
113 }

◆ getComment()

ilQTIRespcondition::getComment ( )

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

References $comment.

◆ getConditionvar()

ilQTIRespcondition::getConditionvar ( )

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

References $conditionvar.

◆ getContinue()

ilQTIRespcondition::getContinue ( )

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

References $continue.

◆ getRespcond_extension()

ilQTIRespcondition::getRespcond_extension ( )

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

References $respcond_extension.

◆ getTitle()

ilQTIRespcondition::getTitle ( )

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

References $title.

◆ setComment()

ilQTIRespcondition::setComment (   $a_comment)

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

81 {
82 $this->comment = $a_comment;
83 }
comment()
Definition: comment.php:2

References comment().

+ Here is the call graph for this function:

◆ setConditionvar()

ilQTIRespcondition::setConditionvar (   $a_conditionvar)

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

91 {
92 $this->conditionvar = $a_conditionvar;
93 }

◆ setContinue()

ilQTIRespcondition::setContinue (   $a_continue)

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

52 {
53 switch (strtolower($a_continue)) {
54 case "1":
55 case "yes":
56 $this->continue = CONTINUE_YES;
57 break;
58 case "2":
59 case "no":
60 $this->continue = CONTINUE_NO;
61 break;
62 }
63 }
const CONTINUE_NO
const CONTINUE_YES

References CONTINUE_NO, and CONTINUE_YES.

◆ setRespcond_extension()

ilQTIRespcondition::setRespcond_extension (   $a_respcond_extension)

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

101 {
102 $this->respcond_extension = $a_respcond_extension;
103 }

◆ setTitle()

ilQTIRespcondition::setTitle (   $a_title)

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

71 {
72 $this->title = $a_title;
73 }

Field Documentation

◆ $comment

ilQTIRespcondition::$comment

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

Referenced by getComment().

◆ $conditionvar

ilQTIRespcondition::$conditionvar

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

Referenced by getConditionvar().

◆ $continue

ilQTIRespcondition::$continue

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

Referenced by getContinue().

◆ $displayfeedback

ilQTIRespcondition::$displayfeedback

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

◆ $respcond_extension

ilQTIRespcondition::$respcond_extension

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

Referenced by getRespcond_extension().

◆ $setvar

ilQTIRespcondition::$setvar

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

◆ $title

ilQTIRespcondition::$title

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

Referenced by getTitle().


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