ILIAS  trunk Revision v11.0_alpha-1838-g59fc79e306b
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilQTIFlowMat Class Reference
+ Inheritance diagram for ilQTIFlowMat:
+ Collaboration diagram for ilQTIFlowMat:

Public Member Functions

 setComment (string $a_comment)
 
 getComment ()
 
 addFlowMat (ilQTIFlowMat $a_flow_mat)
 
 addMaterial (ilQTIMaterial $material)
 
 getMaterial (int $index)
 

Data Fields

string $comment = null
 
array $flow_mat = []
 
array $material = []
 

Detailed Description

Definition at line 29 of file class.ilQTIFlowMat.php.

Member Function Documentation

◆ addFlowMat()

ilQTIFlowMat::addFlowMat ( ilQTIFlowMat  $a_flow_mat)

Definition at line 47 of file class.ilQTIFlowMat.php.

47  : void
48  {
49  $this->flow_mat[] = $a_flow_mat;
50  }

◆ addMaterial()

ilQTIFlowMat::addMaterial ( ilQTIMaterial  $material)

Implements ilQTIMaterialAware.

Definition at line 52 of file class.ilQTIFlowMat.php.

References $material.

52  : void
53  {
54  $this->material[] = $material;
55  }

◆ getComment()

ilQTIFlowMat::getComment ( )

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

References $comment.

42  : ?string
43  {
44  return $this->comment;
45  }

◆ getMaterial()

ilQTIFlowMat::getMaterial ( int  $index)

Implements ilQTIMaterialAware.

Definition at line 57 of file class.ilQTIFlowMat.php.

References null.

57  : ?ilQTIMaterial
58  {
59  return $this->material[$index] ?? null;
60  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null

◆ setComment()

ilQTIFlowMat::setComment ( string  $a_comment)

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

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

37  : void
38  {
39  $this->comment = $a_comment;
40  }
comment()
description: > Example for rendring a comment glyph.
Definition: comment.php:41
+ Here is the call graph for this function:

Field Documentation

◆ $comment

string ilQTIFlowMat::$comment = null

Definition at line 31 of file class.ilQTIFlowMat.php.

Referenced by getComment().

◆ $flow_mat

array ilQTIFlowMat::$flow_mat = []

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

◆ $material

array ilQTIFlowMat::$material = []

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

Referenced by addMaterial().


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