|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ilAssQuestionLifecycle:
Collaboration diagram for ilAssQuestionLifecycle:Public Member Functions | |
| __construct ($identifier=self::DRAFT) | |
| getIdentifier () | |
| getValidIdentifiers () | |
| getMappedLomLifecycle () | |
| getTranslation (ilLanguage $lng) | |
| getSelectOptions (ilLanguage $lng) | |
| 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... | |
Data Fields | |
| const | DRAFT = 'draft' |
| const | REVIEW = 'review' |
| const | REJECTED = 'rejected' |
| const | FINAL = 'final' |
| const | SHARABLE = 'sharable' |
| const | OUTDATED = 'outdated' |
Private Member Functions | |
| setIdentifier (string $identifier) | |
| getTranslationByIdentifier (ilLanguage $lng, string $identifier) | |
| validateIdentifier ($identifier) | |
Private Attributes | |
| string | $identifier |
Definition at line 28 of file class.ilAssQuestionLifecycle.php.
| ilAssQuestionLifecycle::__construct | ( | $identifier = self::DRAFT | ) |
Definition at line 39 of file class.ilAssQuestionLifecycle.php.
References setIdentifier(), and validateIdentifier().
Here is the call graph for this function:| ilAssQuestionLifecycle::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 152 of file class.ilAssQuestionLifecycle.php.
| ilAssQuestionLifecycle::getIdentifier | ( | ) |
Definition at line 45 of file class.ilAssQuestionLifecycle.php.
References $identifier.
Referenced by getMappedLomLifecycle(), getTranslation(), and toNormalized().
Here is the caller graph for this function:| ilAssQuestionLifecycle::getMappedLomLifecycle | ( | ) |
Definition at line 63 of file class.ilAssQuestionLifecycle.php.
References DRAFT, ilAssQuestionLomLifecycle\DRAFT, FINAL, ilAssQuestionLomLifecycle\FINAL, getIdentifier(), OUTDATED, REJECTED, REVIEW, SHARABLE, and ilAssQuestionLomLifecycle\UNAVAILABLE.
Here is the call graph for this function:| ilAssQuestionLifecycle::getSelectOptions | ( | ilLanguage | $lng | ) |
| ilLanguage | $lng |
Definition at line 116 of file class.ilAssQuestionLifecycle.php.
References $identifier, getTranslationByIdentifier(), and getValidIdentifiers().
Referenced by ilTestQuestionFilterLabelTranslator\getLifecycleFilterLabel().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssQuestionLifecycle::getTranslation | ( | ilLanguage | $lng | ) |
Definition at line 81 of file class.ilAssQuestionLifecycle.php.
References getIdentifier(), and getTranslationByIdentifier().
Here is the call graph for this function:
|
private |
Definition at line 86 of file class.ilAssQuestionLifecycle.php.
References $identifier, $lng, DRAFT, FINAL, OUTDATED, REJECTED, REVIEW, and SHARABLE.
Referenced by getSelectOptions(), and getTranslation().
Here is the caller graph for this function:| ilAssQuestionLifecycle::getValidIdentifiers | ( | ) |
Definition at line 58 of file class.ilAssQuestionLifecycle.php.
References DRAFT, FINAL, OUTDATED, REJECTED, REVIEW, and SHARABLE.
Referenced by getSelectOptions(), and validateIdentifier().
Here is the caller graph for this function:
|
private |
Definition at line 50 of file class.ilAssQuestionLifecycle.php.
References $identifier.
Referenced by __construct().
Here is the caller graph for this function:| ilAssQuestionLifecycle::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 141 of file class.ilAssQuestionLifecycle.php.
References getIdentifier().
Here is the call graph for this function:
|
private |
| mixed | $identifier |
| ilTestQuestionPoolInvalidArgumentException |
Definition at line 131 of file class.ilAssQuestionLifecycle.php.
References $identifier, and getValidIdentifiers().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 37 of file class.ilAssQuestionLifecycle.php.
Referenced by getIdentifier(), getSelectOptions(), getTranslationByIdentifier(), setIdentifier(), and validateIdentifier().
| const ilAssQuestionLifecycle::DRAFT = 'draft' |
Definition at line 30 of file class.ilAssQuestionLifecycle.php.
Referenced by ilAssQuestionLomLifecycle\getMappedIliasLifecycleIdentifer(), getMappedLomLifecycle(), getTranslationByIdentifier(), getValidIdentifiers(), and ilAssQuestionLifecycleTest\testConstruct().
| const ilAssQuestionLifecycle::FINAL = 'final' |
Definition at line 33 of file class.ilAssQuestionLifecycle.php.
Referenced by ilAssQuestionLomLifecycle\getMappedIliasLifecycleIdentifer(), getMappedLomLifecycle(), getTranslationByIdentifier(), getValidIdentifiers(), and ilAssQuestionLifecycleTest\testConstructAcceptsIdentifier().
| const ilAssQuestionLifecycle::OUTDATED = 'outdated' |
Definition at line 35 of file class.ilAssQuestionLifecycle.php.
Referenced by ilAssQuestionLomLifecycle\getMappedIliasLifecycleIdentifer(), getMappedLomLifecycle(), getTranslationByIdentifier(), and getValidIdentifiers().
| const ilAssQuestionLifecycle::REJECTED = 'rejected' |
Definition at line 32 of file class.ilAssQuestionLifecycle.php.
Referenced by getMappedLomLifecycle(), getTranslationByIdentifier(), and getValidIdentifiers().
| const ilAssQuestionLifecycle::REVIEW = 'review' |
Definition at line 31 of file class.ilAssQuestionLifecycle.php.
Referenced by getMappedLomLifecycle(), getTranslationByIdentifier(), and getValidIdentifiers().
| const ilAssQuestionLifecycle::SHARABLE = 'sharable' |
Definition at line 34 of file class.ilAssQuestionLifecycle.php.
Referenced by getMappedLomLifecycle(), getTranslationByIdentifier(), and getValidIdentifiers().