ILIAS  release_4-4 Revision
ilQTIFlowMat Class Reference
+ Inheritance diagram for ilQTIFlowMat:
+ Collaboration diagram for ilQTIFlowMat:

Public Member Functions

 ilQTIFlowMat ()
 
 setComment ($a_comment)
 
 getComment ()
 
 addFlow_mat ($a_flow_mat)
 
 addMaterial (ilQTIMaterial $a_material)
 {
Parameters
ilQTIMaterial$flow_mat
} More...
 
 getMaterial ($index)
 {
Parameters
$indexint
Returns
ilQTIMaterial|null
} More...
 
 addMaterial_ref ($a_material_ref)
 

Data Fields

 $comment
 
 $flow_mat
 
 $material
 
 $material_ref
 

Detailed Description

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

Member Function Documentation

◆ addFlow_mat()

ilQTIFlowMat::addFlow_mat (   $a_flow_mat)

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

59  {
60  array_push($this->flow_mat, $a_flow_mat);
61  }

◆ addMaterial()

ilQTIFlowMat::addMaterial ( ilQTIMaterial  $a_material)

{

Parameters
ilQTIMaterial$flow_mat
}

Implements ilQTIMaterialAware.

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

67  {
68  $this->material[] = $a_material;
69  }

◆ addMaterial_ref()

ilQTIFlowMat::addMaterial_ref (   $a_material_ref)

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

85  {
86  array_push($this->material_ref, $a_material_ref);
87  }

◆ getComment()

ilQTIFlowMat::getComment ( )

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

References $comment.

54  {
55  return $this->comment;
56  }

◆ getMaterial()

ilQTIFlowMat::getMaterial (   $index)

{

Parameters
$indexint
Returns
ilQTIMaterial|null
}

Implements ilQTIMaterialAware.

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

75  {
76  if(isset($this->material[$index]))
77  {
78  return $this->material[$index];
79  }
80 
81  return null;
82  }

◆ ilQTIFlowMat()

ilQTIFlowMat::ilQTIFlowMat ( )

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

42  {
43  $this->flow_mat = array();
44  $this->material = array();
45  $this->material_ref = array();
46  }

◆ setComment()

ilQTIFlowMat::setComment (   $a_comment)

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

49  {
50  $this->comment = $a_comment;
51  }

Field Documentation

◆ $comment

ilQTIFlowMat::$comment

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

Referenced by getComment().

◆ $flow_mat

ilQTIFlowMat::$flow_mat

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

◆ $material

ilQTIFlowMat::$material

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

◆ $material_ref

ilQTIFlowMat::$material_ref

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


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