ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
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
}
 getMaterial ($index)
 {
Parameters
$indexint
Returns
ilQTIMaterial|null
}
 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

ilQTIFlowMat::addFlow_mat (   $a_flow_mat)

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

{
array_push($this->flow_mat, $a_flow_mat);
}
ilQTIFlowMat::addMaterial ( ilQTIMaterial  $a_material)

{

Parameters
ilQTIMaterial$flow_mat
}

Implements ilQTIMaterialAware.

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

{
$this->material[] = $a_material;
}
ilQTIFlowMat::addMaterial_ref (   $a_material_ref)

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

{
array_push($this->material_ref, $a_material_ref);
}
ilQTIFlowMat::getComment ( )

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

References $comment.

{
}
ilQTIFlowMat::getMaterial (   $index)

{

Parameters
$indexint
Returns
ilQTIMaterial|null
}

Implements ilQTIMaterialAware.

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

{
if(isset($this->material[$index]))
{
return $this->material[$index];
}
return null;
}
ilQTIFlowMat::ilQTIFlowMat ( )

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

{
$this->flow_mat = array();
$this->material = array();
$this->material_ref = array();
}
ilQTIFlowMat::setComment (   $a_comment)

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

{
$this->comment = $a_comment;
}

Field Documentation

ilQTIFlowMat::$comment

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

Referenced by getComment().

ilQTIFlowMat::$flow_mat

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

ilQTIFlowMat::$material

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

ilQTIFlowMat::$material_ref

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


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