90 return $lng->txt(
'qst_lifecycle_draft');
93 return $lng->txt(
'qst_lifecycle_review');
96 return $lng->txt(
'qst_lifecycle_rejected');
99 return $lng->txt(
'qst_lifecycle_final');
102 return $lng->txt(
'qst_lifecycle_sharable');
105 return $lng->txt(
'qst_lifecycle_outdated');
124 return $selectOptions;
144 ): array|float|bool|
int|string|null
157 return new self($normalized[
'identifier']);
__construct($identifier=self::DRAFT)
fromNormalized(array $normalized, Transformations $transformations)
Restore the object from its normalized representation.
getSelectOptions(ilLanguage $lng)
getTranslation(ilLanguage $lng)
toNormalized(Transformations $transformations, array $context=[])
Convert the internal state of the implementing object into a language-neutral array structure.
validateIdentifier($identifier)
setIdentifier(string $identifier)
getTranslationByIdentifier(ilLanguage $lng, string $identifier)