|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Formula Question Unit Category. More...
Inheritance diagram for assFormulaQuestionUnitCategory:
Collaboration diagram for assFormulaQuestionUnitCategory:Public Member Functions | |
| initFormArray (array $data) | |
| setId (int $id) | |
| getId () | |
| setCategory (string $category) | |
| getCategory () | |
| getSanitizedCategory () | |
| setQuestionFi (int $question_fi) | |
| getQuestionFi () | |
| getDisplayString () | |
| toNormalized (Transformations $transformations, array $context=[]) | |
| Convert the internal state of the implementing object into a language-neutral array structure. More... | |
| fromNormalized (array $normalized, Transformations $transformations) | |
| Restore the object from its normalized representation. More... | |
| toNormalized (Transformations $transformations, array $context=[]) | |
| Convert the internal state of the implementing object into a language-neutral array structure. More... | |
| fromNormalized (array $normalized, Transformations $transformations) | |
| Restore the object from its normalized representation. More... | |
Private Member Functions | |
| sanitizeString (string $string) | |
Private Attributes | |
| int | $id = 0 |
| string | $category = '' |
| int | $question_fi = 0 |
Formula Question Unit Category.
Definition at line 31 of file class.assFormulaQuestionUnitCategory.php.
| assFormulaQuestionUnitCategory::fromNormalized | ( | array | $normalized, |
| Transformations | $transformations | ||
| ) |
Restore the object from its normalized representation.
| array<array-key,mixed> | $normalized |
Implements ILIAS\TestQuestionPool\ExportImport\Foundation\Normalize\FromNormalized.
Definition at line 109 of file class.assFormulaQuestionUnitCategory.php.
References ILIAS\TestQuestionPool\ExportImport\Foundation\Normalize\Transformations\denormalize(), and ILIAS\TestQuestionPool\ExportImport\Foundation\Normalize\Transformations\string().
Here is the call graph for this function:| assFormulaQuestionUnitCategory::getCategory | ( | ) |
Definition at line 59 of file class.assFormulaQuestionUnitCategory.php.
References $category.
Referenced by getDisplayString(), getSanitizedCategory(), ilUnitConfigurationRepository\saveCategory(), and ilUnitConfigurationRepository\saveNewUnitCategory().
Here is the caller graph for this function:| assFormulaQuestionUnitCategory::getDisplayString | ( | ) |
Definition at line 79 of file class.assFormulaQuestionUnitCategory.php.
References $category, $DIC, getCategory(), getSanitizedCategory(), and sanitizeString().
Here is the call graph for this function:| assFormulaQuestionUnitCategory::getId | ( | ) |
Definition at line 49 of file class.assFormulaQuestionUnitCategory.php.
References $id.
Referenced by ilUnitConfigurationRepository\saveCategory().
Here is the caller graph for this function:| assFormulaQuestionUnitCategory::getQuestionFi | ( | ) |
Definition at line 74 of file class.assFormulaQuestionUnitCategory.php.
References $question_fi.
| assFormulaQuestionUnitCategory::getSanitizedCategory | ( | ) |
Definition at line 64 of file class.assFormulaQuestionUnitCategory.php.
References getCategory(), and sanitizeString().
Referenced by getDisplayString().
Here is the call graph for this function:
Here is the caller graph for this function:| assFormulaQuestionUnitCategory::initFormArray | ( | array | $data | ) |
Definition at line 37 of file class.assFormulaQuestionUnitCategory.php.
References $data, and ILIAS\Repository\int().
Here is the call graph for this function:
|
private |
Definition at line 90 of file class.assFormulaQuestionUnitCategory.php.
Referenced by getDisplayString(), and getSanitizedCategory().
Here is the caller graph for this function:| assFormulaQuestionUnitCategory::setCategory | ( | string | $category | ) |
Definition at line 54 of file class.assFormulaQuestionUnitCategory.php.
References $category.
| assFormulaQuestionUnitCategory::setId | ( | int | $id | ) |
Definition at line 44 of file class.assFormulaQuestionUnitCategory.php.
References $id.
Referenced by ilUnitConfigurationRepository\saveNewUnitCategory().
Here is the caller graph for this function:| assFormulaQuestionUnitCategory::setQuestionFi | ( | int | $question_fi | ) |
Definition at line 69 of file class.assFormulaQuestionUnitCategory.php.
References $question_fi.
| assFormulaQuestionUnitCategory::toNormalized | ( | Transformations | $transformations, |
| array | $context = [] |
||
| ) |
Convert the internal state of the implementing object into a language-neutral array structure.
The resulting array must contain only null, scalar values (string, int, float, bool) and nested arrays following the same rules.
| array<string,mixed> | $context |
Implements ILIAS\TestQuestionPool\ExportImport\Foundation\Normalize\ToNormalized.
Definition at line 96 of file class.assFormulaQuestionUnitCategory.php.
References $category, and ILIAS\TestQuestionPool\ExportImport\Foundation\Normalize\Transformations\normalize().
Here is the call graph for this function:
|
private |
Definition at line 34 of file class.assFormulaQuestionUnitCategory.php.
Referenced by getCategory(), getDisplayString(), setCategory(), and toNormalized().
|
private |
Definition at line 33 of file class.assFormulaQuestionUnitCategory.php.
|
private |
Definition at line 35 of file class.assFormulaQuestionUnitCategory.php.
Referenced by getQuestionFi(), and setQuestionFi().