|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Formula Question Unit. More...
Collaboration diagram for assFormulaQuestionUnit:Public Member Functions | |
| initFormArray (array $data) | |
| setId (int $id) | |
| getId () | |
| setUnit (string $unit) | |
| getUnit () | |
| getSanitizedUnit () | |
| setSequence (int $sequence) | |
| getSequence () | |
| setFactor (float $factor) | |
| getFactor () | |
| setBaseUnit (int $baseunit) | |
| getBaseUnit () | |
| setBaseunitTitle (?string $baseunit_title) | |
| getBaseunitTitle () | |
| getSanitizedBaseunitTitle () | |
| setCategory (int $category) | |
| getCategory () | |
| getDisplayString () | |
Static Public Member Functions | |
| static | lookupUnitFactor (int $a_unit_id) |
Private Member Functions | |
| sanitizeString (string $string) | |
Private Attributes | |
| int | $id = 0 |
| string | $unit = '' |
| float | $factor = 0.0 |
| int | $category = 0 |
| int | $sequence = 0 |
| int | $baseunit = 0 |
| string | $baseunit_title = null |
Formula Question Unit.
Definition at line 26 of file class.assFormulaQuestionUnit.php.
| assFormulaQuestionUnit::getBaseUnit | ( | ) |
Definition at line 97 of file class.assFormulaQuestionUnit.php.
References $baseunit, and $id.
Referenced by ilUnitConfigurationRepository\saveUnit().
Here is the caller graph for this function:| assFormulaQuestionUnit::getBaseunitTitle | ( | ) |
Definition at line 111 of file class.assFormulaQuestionUnit.php.
References $baseunit_title.
Referenced by getSanitizedBaseunitTitle().
Here is the caller graph for this function:| assFormulaQuestionUnit::getCategory | ( | ) |
Definition at line 126 of file class.assFormulaQuestionUnit.php.
References $category.
Referenced by ilUnitConfigurationRepository\createNewUnit(), and ilUnitConfigurationRepository\saveUnit().
Here is the caller graph for this function:| assFormulaQuestionUnit::getDisplayString | ( | ) |
Definition at line 131 of file class.assFormulaQuestionUnit.php.
References $DIC, $unit, getSanitizedUnit(), getUnit(), and sanitizeString().
Here is the call graph for this function:| assFormulaQuestionUnit::getFactor | ( | ) |
Definition at line 87 of file class.assFormulaQuestionUnit.php.
References $factor.
Referenced by ilUnitConfigurationRepository\saveUnit().
Here is the caller graph for this function:| assFormulaQuestionUnit::getId | ( | ) |
Definition at line 52 of file class.assFormulaQuestionUnit.php.
References $id.
Referenced by ilUnitConfigurationRepository\addUnit(), and ilUnitConfigurationRepository\saveUnit().
Here is the caller graph for this function:| assFormulaQuestionUnit::getSanitizedBaseunitTitle | ( | ) |
Definition at line 116 of file class.assFormulaQuestionUnit.php.
References getBaseunitTitle(), and sanitizeString().
Here is the call graph for this function:| assFormulaQuestionUnit::getSanitizedUnit | ( | ) |
Definition at line 67 of file class.assFormulaQuestionUnit.php.
References getUnit().
Referenced by getDisplayString().
Here is the call graph for this function:
Here is the caller graph for this function:| assFormulaQuestionUnit::getSequence | ( | ) |
Definition at line 77 of file class.assFormulaQuestionUnit.php.
References $sequence.
Referenced by ilUnitConfigurationRepository\saveUnit().
Here is the caller graph for this function:| assFormulaQuestionUnit::getUnit | ( | ) |
Definition at line 62 of file class.assFormulaQuestionUnit.php.
References $unit.
Referenced by ilUnitConfigurationRepository\createNewUnit(), getDisplayString(), getSanitizedUnit(), and ilUnitConfigurationRepository\saveUnit().
Here is the caller graph for this function:| assFormulaQuestionUnit::initFormArray | ( | array | $data | ) |
Definition at line 36 of file class.assFormulaQuestionUnit.php.
References $data, and ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
Definition at line 142 of file class.assFormulaQuestionUnit.php.
References $DIC, $ilDB, and $res.
Referenced by assFormulaQuestion\getBestSolution().
Here is the caller graph for this function:
|
private |
Definition at line 158 of file class.assFormulaQuestionUnit.php.
Referenced by getDisplayString(), and getSanitizedBaseunitTitle().
Here is the caller graph for this function:| assFormulaQuestionUnit::setBaseUnit | ( | int | $baseunit | ) |
Definition at line 92 of file class.assFormulaQuestionUnit.php.
References $baseunit.
Referenced by ilUnitConfigurationRepository\createNewUnit().
Here is the caller graph for this function:| assFormulaQuestionUnit::setBaseunitTitle | ( | ?string | $baseunit_title | ) |
Definition at line 106 of file class.assFormulaQuestionUnit.php.
References $baseunit_title.
| assFormulaQuestionUnit::setCategory | ( | int | $category | ) |
Definition at line 121 of file class.assFormulaQuestionUnit.php.
References $category.
| assFormulaQuestionUnit::setFactor | ( | float | $factor | ) |
Definition at line 82 of file class.assFormulaQuestionUnit.php.
References $factor.
Referenced by ilUnitConfigurationRepository\createNewUnit(), and ilUnitConfigurationRepository\saveUnit().
Here is the caller graph for this function:| assFormulaQuestionUnit::setId | ( | int | $id | ) |
Definition at line 47 of file class.assFormulaQuestionUnit.php.
References $id.
Referenced by ilUnitConfigurationRepository\createNewUnit().
Here is the caller graph for this function:| assFormulaQuestionUnit::setSequence | ( | int | $sequence | ) |
Definition at line 72 of file class.assFormulaQuestionUnit.php.
References $sequence.
Referenced by ilUnitConfigurationRepository\createNewUnit().
Here is the caller graph for this function:| assFormulaQuestionUnit::setUnit | ( | string | $unit | ) |
Definition at line 57 of file class.assFormulaQuestionUnit.php.
References $unit.
|
private |
Definition at line 33 of file class.assFormulaQuestionUnit.php.
Referenced by getBaseUnit(), and setBaseUnit().
|
private |
Definition at line 34 of file class.assFormulaQuestionUnit.php.
Referenced by getBaseunitTitle(), and setBaseunitTitle().
|
private |
Definition at line 31 of file class.assFormulaQuestionUnit.php.
Referenced by getCategory(), and setCategory().
|
private |
Definition at line 30 of file class.assFormulaQuestionUnit.php.
Referenced by getFactor(), and setFactor().
|
private |
Definition at line 28 of file class.assFormulaQuestionUnit.php.
Referenced by getBaseUnit(), getId(), and setId().
|
private |
Definition at line 32 of file class.assFormulaQuestionUnit.php.
Referenced by getSequence(), and setSequence().
|
private |
Definition at line 29 of file class.assFormulaQuestionUnit.php.
Referenced by getDisplayString(), getUnit(), and setUnit().