ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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)
 
 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.

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

References $material.

◆ getComment()

ilQTIFlowMat::getComment ( )

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

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

References $comment.

◆ getMaterial()

ilQTIFlowMat::getMaterial ( int  $index)

Implements ilQTIMaterialAware.

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

58 {
59 return $this->material[$index] ?? null;
60 }

◆ setComment()

ilQTIFlowMat::setComment ( string  $a_comment)

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

37 : void
38 {
39 $this->comment = $a_comment;
40 }

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

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