ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 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.

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

◆ 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.

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

◆ getRespcond_extension()

ilQTIRespcondition::getRespcond_extension ( )

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

References $respcond_extension.

106  {
108  }

◆ getTitle()

ilQTIRespcondition::getTitle ( )

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

References $title.

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

◆ setComment()

ilQTIRespcondition::setComment (   $a_comment)

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

References comment().

81  {
82  $this->comment = $a_comment;
83  }
comment()
Definition: comment.php:2
+ 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.

References CONTINUE_NO, and CONTINUE_YES.

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_YES
const CONTINUE_NO

◆ 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: