ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f87
assFormulaQuestionUnitCategory Class Reference

Formula Question Unit Category. More...

+ Collaboration diagram for assFormulaQuestionUnitCategory:

Public Member Functions

 __construct ()
 
 initFormArray (array $data)
 
 setId ($id)
 
 getId ()
 
 setCategory ($category)
 
 getCategory ()
 
 setQuestionFi ($question_fi)
 
 getQuestionFi ()
 

Private Attributes

 $id = 0
 
 $category = ''
 
 $question_fi = 0
 

Detailed Description

Formula Question Unit Category.

Author
Helmut Schottmüller helmu.nosp@m.t.sc.nosp@m.hottm.nosp@m.uell.nosp@m.er@ma.nosp@m.c.co.nosp@m.m
Version
Id
class.assFormulaQuestionUnitCategory.php 404 2009-04-27 04:56:49Z hschottm

Definition at line 11 of file class.assFormulaQuestionUnitCategory.php.

Constructor & Destructor Documentation

◆ __construct()

assFormulaQuestionUnitCategory::__construct ( )
Parameters
int$idCategory id
string$categoryCategory name
int$question_fiQuestion id context

Definition at line 33 of file class.assFormulaQuestionUnitCategory.php.

34  {
35  }

Member Function Documentation

◆ getCategory()

assFormulaQuestionUnitCategory::getCategory ( )
Returns
string

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

References $category.

Referenced by ilUnitConfigurationRepository\checkDeleteUnit(), and getQuestionFi().

+ Here is the caller graph for this function:

◆ getId()

assFormulaQuestionUnitCategory::getId ( )
Returns
int

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

References $id.

Referenced by ilUnitConfigurationRepository\checkDeleteUnit().

+ Here is the caller graph for this function:

◆ getQuestionFi()

assFormulaQuestionUnitCategory::getQuestionFi ( )
Returns
int

Definition at line 90 of file class.assFormulaQuestionUnitCategory.php.

References $category, $lng, $question_fi, and getCategory().

+ Here is the call graph for this function:

◆ initFormArray()

assFormulaQuestionUnitCategory::initFormArray ( array  $data)
Parameters
array$data

Definition at line 40 of file class.assFormulaQuestionUnitCategory.php.

Referenced by ilUnitConfigurationRepository\checkDeleteUnit().

41  {
42  $this->id = $data['category_id'];
43  $this->category = $data['category'];
44  $this->question_fi = $data['question_fi'];
45  }
+ Here is the caller graph for this function:

◆ setCategory()

assFormulaQuestionUnitCategory::setCategory (   $category)
Parameters
$category

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

References $category.

◆ setId()

assFormulaQuestionUnitCategory::setId (   $id)
Parameters
$id

Definition at line 50 of file class.assFormulaQuestionUnitCategory.php.

References $id.

Referenced by ilUnitConfigurationRepository\checkDeleteUnit().

+ Here is the caller graph for this function:

◆ setQuestionFi()

assFormulaQuestionUnitCategory::setQuestionFi (   $question_fi)
Parameters
int$question_fi

Definition at line 82 of file class.assFormulaQuestionUnitCategory.php.

References $question_fi.

83  {
84  $this->question_fi = $question_fi;
85  }

Field Documentation

◆ $category

assFormulaQuestionUnitCategory::$category = ''
private

◆ $id

assFormulaQuestionUnitCategory::$id = 0
private

Definition at line 16 of file class.assFormulaQuestionUnitCategory.php.

Referenced by getId(), and setId().

◆ $question_fi

assFormulaQuestionUnitCategory::$question_fi = 0
private

Definition at line 26 of file class.assFormulaQuestionUnitCategory.php.

Referenced by getQuestionFi(), and setQuestionFi().


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