ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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.

References array.

46  {
47  $this->setvar = array();
48  $this->displayfeedback = array();
49  }
Create styles array
The data for the language used.

Member Function Documentation

◆ addDisplayfeedback()

ilQTIRespcondition::addDisplayfeedback (   $a_displayfeedback)

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

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

◆ addSetvar()

ilQTIRespcondition::addSetvar (   $a_setvar)

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

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

◆ getComment()

ilQTIRespcondition::getComment ( )

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

References $comment.

87  {
88  return $this->comment;
89  }

◆ getConditionvar()

ilQTIRespcondition::getConditionvar ( )

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

References $conditionvar.

◆ getContinue()

ilQTIRespcondition::getContinue ( )

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

References $continue.

67  {
68  return $this->continue;
69  }

◆ getRespcond_extension()

ilQTIRespcondition::getRespcond_extension ( )

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

References $respcond_extension.

107  {
109  }

◆ getTitle()

ilQTIRespcondition::getTitle ( )

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

References $title.

77  {
78  return $this->title;
79  }

◆ setComment()

ilQTIRespcondition::setComment (   $a_comment)

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

References comment().

82  {
83  $this->comment = $a_comment;
84  }
comment()
Definition: comment.php:2
+ Here is the call graph for this function:

◆ setConditionvar()

ilQTIRespcondition::setConditionvar (   $a_conditionvar)

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

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

◆ setContinue()

ilQTIRespcondition::setContinue (   $a_continue)

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

References CONTINUE_NO, and CONTINUE_YES.

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

◆ setRespcond_extension()

ilQTIRespcondition::setRespcond_extension (   $a_respcond_extension)

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

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

◆ setTitle()

ilQTIRespcondition::setTitle (   $a_title)

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

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

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: