ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Public Member Functions | |
getIdentifier () | |
getValidIdentifiers () | |
getMappedLomLifecycle () | |
getTranslation (ilLanguage $lng) | |
getSelectOptions (ilLanguage $lng) | |
Static Public Member Functions | |
static | getInstance ($identifier) |
static | getDraftInstance () |
Data Fields | |
const | DRAFT = 'draft' |
const | REVIEW = 'review' |
const | REJECTED = 'rejected' |
const | FINAL = 'final' |
const | SHARABLE = 'sharable' |
const | OUTDATED = 'outdated' |
Protected Attributes | |
string | $identifier |
Private Member Functions | |
__construct () | |
setIdentifier (string $identifier) | |
getTranslationByIdentifier (ilLanguage $lng, string $identifier) | |
validateIdentifier ($identifier) | |
Definition at line 24 of file class.ilAssQuestionLifecycle.php.
|
private |
Definition at line 35 of file class.ilAssQuestionLifecycle.php.
References ILIAS\ResourceStorage\Revision\DRAFT, and setIdentifier().
|
static |
Definition at line 149 of file class.ilAssQuestionLifecycle.php.
References $lifecycle, and ILIAS\ResourceStorage\Revision\DRAFT.
Referenced by ilTestRandomQuestionSetPoolDefinitionFormGUI\build(), assQuestionImport\fetchLifecycle(), ILIAS\Test\Questions\Presentation\QuestionsBrowserFilter\getFields(), ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getFilter(), ilBulkEditQuestionsGUI\getFormLifecycle(), ilTestQuestionFilterLabelTranslator\getLifecycleFilterLabel(), ilQuestionBrowserTableGUI\initFilter(), assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
ilAssQuestionLifecycle::getIdentifier | ( | ) |
Definition at line 40 of file class.ilAssQuestionLifecycle.php.
References $identifier.
Referenced by getMappedLomLifecycle(), and getTranslation().
|
static |
mixed | $identifier |
ilTestQuestionPoolInvalidArgumentException |
Definition at line 140 of file class.ilAssQuestionLifecycle.php.
References $lifecycle.
Referenced by assQuestionImport\fetchLifecycle(), ilQuestionBrowserTableGUI\fillRow(), ILIAS\Test\Questions\Properties\Properties\getAsQuestionsTableRow(), ilBulkEditQuestionsGUI\getLifecycleUpdater(), ILIAS\Test\Questions\Presentation\QuestionsBrowserTable\getRows(), ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getRows(), assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), assFormulaQuestion\loadFromDb(), assFormulaQuestionGUI\writePostData(), and assQuestionGUI\writeQuestionGenericPostData().
ilAssQuestionLifecycle::getMappedLomLifecycle | ( | ) |
Definition at line 58 of file class.ilAssQuestionLifecycle.php.
References ILIAS\ResourceStorage\Revision\DRAFT, ilAssQuestionLomLifecycle\DRAFT, ilAssQuestionLomLifecycle\FINAL, getIdentifier(), and ilAssQuestionLomLifecycle\UNAVAILABLE.
ilAssQuestionLifecycle::getSelectOptions | ( | ilLanguage | $lng | ) |
ilLanguage | $lng |
Definition at line 111 of file class.ilAssQuestionLifecycle.php.
References $identifier, getTranslationByIdentifier(), and getValidIdentifiers().
ilAssQuestionLifecycle::getTranslation | ( | ilLanguage | $lng | ) |
Definition at line 76 of file class.ilAssQuestionLifecycle.php.
References getIdentifier(), and getTranslationByIdentifier().
|
private |
Definition at line 81 of file class.ilAssQuestionLifecycle.php.
References ILIAS\ResourceStorage\Revision\DRAFT, and ilLanguage\txt().
Referenced by getSelectOptions(), and getTranslation().
ilAssQuestionLifecycle::getValidIdentifiers | ( | ) |
Definition at line 53 of file class.ilAssQuestionLifecycle.php.
References ILIAS\ResourceStorage\Revision\DRAFT.
Referenced by getSelectOptions(), and validateIdentifier().
|
private |
Definition at line 45 of file class.ilAssQuestionLifecycle.php.
References $identifier.
Referenced by __construct().
|
private |
mixed | $identifier |
ilTestQuestionPoolInvalidArgumentException |
Definition at line 126 of file class.ilAssQuestionLifecycle.php.
References getValidIdentifiers().
|
protected |
Definition at line 33 of file class.ilAssQuestionLifecycle.php.
Referenced by getIdentifier(), getSelectOptions(), and setIdentifier().
const ilAssQuestionLifecycle::DRAFT = 'draft' |
Definition at line 26 of file class.ilAssQuestionLifecycle.php.
Referenced by ilAssQuestionLomLifecycle\getMappedIliasLifecycleIdentifer().
const ilAssQuestionLifecycle::FINAL = 'final' |
Definition at line 29 of file class.ilAssQuestionLifecycle.php.
Referenced by ilAssQuestionLomLifecycle\getMappedIliasLifecycleIdentifer().
const ilAssQuestionLifecycle::OUTDATED = 'outdated' |
Definition at line 31 of file class.ilAssQuestionLifecycle.php.
Referenced by ilAssQuestionLomLifecycle\getMappedIliasLifecycleIdentifer().
const ilAssQuestionLifecycle::REJECTED = 'rejected' |
Definition at line 28 of file class.ilAssQuestionLifecycle.php.
const ilAssQuestionLifecycle::REVIEW = 'review' |
Definition at line 27 of file class.ilAssQuestionLifecycle.php.
const ilAssQuestionLifecycle::SHARABLE = 'sharable' |
Definition at line 30 of file class.ilAssQuestionLifecycle.php.