ILIAS  release_8 Revision v8.24
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 30 of file class.ilQTIFlowMat.php.

Member Function Documentation

◆ addFlowMat()

ilQTIFlowMat::addFlowMat ( ilQTIFlowMat  $a_flow_mat)

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

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

◆ addMaterial()

ilQTIFlowMat::addMaterial ( ilQTIMaterial  $material)

Implements ilQTIMaterialAware.

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

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

References $material.

◆ getComment()

ilQTIFlowMat::getComment ( )

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

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

References $comment.

◆ getMaterial()

ilQTIFlowMat::getMaterial ( int  $index)

Implements ilQTIMaterialAware.

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

59 {
60 return $this->material[$index] ?? null;
61 }
$index
Definition: metadata.php:145

References $index.

◆ setComment()

ilQTIFlowMat::setComment ( string  $a_comment)

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

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

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 32 of file class.ilQTIFlowMat.php.

Referenced by getComment().

◆ $flow_mat

array ilQTIFlowMat::$flow_mat = []

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

◆ $material

array ilQTIFlowMat::$material = []

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

Referenced by addMaterial().


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