ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilQTIPresentationMaterial Class Reference

Class ilQTIPresentationMaterial. More...

+ Inheritance diagram for ilQTIPresentationMaterial:
+ Collaboration diagram for ilQTIPresentationMaterial:

Public Member Functions

 addFlowMat (ilQTIFlowMat $flow_mat)
 {
Parameters
ilQTIFlowMat$flow_mat
} More...
 
 getFlowMat ($index)
 {
Parameters
$indexint
Returns
ilQTIFlowMat|null
} More...
 

Protected Attributes

 $flow_mat = array()
 

Detailed Description

Member Function Documentation

◆ addFlowMat()

ilQTIPresentationMaterial::addFlowMat ( ilQTIFlowMat  $flow_mat)

{

Parameters
ilQTIFlowMat$flow_mat
}

Implements ilQTIFlowMatAware.

Definition at line 20 of file class.ilQTIPresentationMaterial.php.

References $flow_mat.

21  {
22  $this->flow_mat[] = $flow_mat;
23  }

◆ getFlowMat()

ilQTIPresentationMaterial::getFlowMat (   $index)

{

Parameters
$indexint
Returns
ilQTIFlowMat|null
}

Implements ilQTIFlowMatAware.

Definition at line 28 of file class.ilQTIPresentationMaterial.php.

References $index.

29  {
30  if (isset($this->flow_mat[$index])) {
31  return $this->flow_mat[$index];
32  }
33 
34  return null;
35  }
$index
Definition: metadata.php:60

Field Documentation

◆ $flow_mat

ilQTIPresentationMaterial::$flow_mat = array()
protected

Definition at line 15 of file class.ilQTIPresentationMaterial.php.

Referenced by addFlowMat().


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