ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Survey phrases GUI class The ilSurveyPhrases GUI class creates the GUI output for survey phrases (collections of survey categories) of ordinal survey question types. More...
Public Member Functions | |
__construct (ilObjSurveyQuestionPoolGUI $a_object) | |
executeCommand () | |
deletePhrase () | |
Creates a confirmation form to delete personal phases from the database. More... | |
phrases () | |
List phrases. More... | |
cancelDeletePhrase () | |
confirmDeletePhrase () | |
deletePhrasesForm (array $checked_phrases) | |
Creates a confirmation form to delete personal phases from the database. More... | |
cancelEditPhrase () | |
saveEditPhrase () | |
writePostData (bool $always=false) | |
Evaluates a posted edit form and writes the form data in the question object. More... | |
newPhrase () | |
editPhrase () | |
phraseEditor (bool $checkonly=false) | |
Protected Member Functions | |
getCategoriesForPhrase (int $phrase_id) | |
getPhraseTitle (int $phrase_id) | |
Survey phrases GUI class The ilSurveyPhrases GUI class creates the GUI output for survey phrases (collections of survey categories) of ordinal survey question types.
Definition at line 28 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::__construct | ( | ilObjSurveyQuestionPoolGUI | $a_object | ) |
Definition at line 43 of file class.ilSurveyPhrasesGUI.php.
References $DIC, $lng, $tpl, $tree, ILIAS\Repository\ctrl(), ilObjectGUI\getRefId(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
ilSurveyPhrasesGUI::cancelDeletePhrase | ( | ) |
Definition at line 131 of file class.ilSurveyPhrasesGUI.php.
References ILIAS\Repository\ctrl().
ilSurveyPhrasesGUI::cancelEditPhrase | ( | ) |
Definition at line 210 of file class.ilSurveyPhrasesGUI.php.
References ILIAS\Repository\ctrl().
ilSurveyPhrasesGUI::confirmDeletePhrase | ( | ) |
Definition at line 136 of file class.ilSurveyPhrasesGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilSurveyPhrasesGUI::deletePhrase | ( | ) |
Creates a confirmation form to delete personal phases from the database.
Definition at line 86 of file class.ilSurveyPhrasesGUI.php.
References deletePhrasesForm(), ILIAS\Repository\lng(), and phrases().
ilSurveyPhrasesGUI::deletePhrasesForm | ( | array | $checked_phrases | ) |
Creates a confirmation form to delete personal phases from the database.
array | $checked_phrases | array with the id's of the phrases checked for deletion |
Definition at line 192 of file class.ilSurveyPhrasesGUI.php.
References $data, ilSurveyPhrases\_getAvailablePhrases(), and ilSurveyPhrases\_getCategoriesForPhrase().
Referenced by deletePhrase().
ilSurveyPhrasesGUI::editPhrase | ( | ) |
Definition at line 270 of file class.ilSurveyPhrasesGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilSurveyPhrasesGUI::executeCommand | ( | ) |
Definition at line 70 of file class.ilSurveyPhrasesGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
int | $phrase_id |
Definition at line 149 of file class.ilSurveyPhrasesGUI.php.
References $data, $db, and $ilDB.
Referenced by phraseEditor().
|
protected |
Definition at line 171 of file class.ilSurveyPhrasesGUI.php.
Referenced by phraseEditor().
ilSurveyPhrasesGUI::newPhrase | ( | ) |
Definition at line 265 of file class.ilSurveyPhrasesGUI.php.
References ILIAS\Repository\ctrl().
ilSurveyPhrasesGUI::phraseEditor | ( | bool | $checkonly = false | ) |
Definition at line 288 of file class.ilSurveyPhrasesGUI.php.
References $errors, $form, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), getCategoriesForPhrase(), getPhraseTitle(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setRequired().
Referenced by writePostData().
ilSurveyPhrasesGUI::phrases | ( | ) |
List phrases.
Definition at line 101 of file class.ilSurveyPhrasesGUI.php.
References $data, $rbacsystem, $toolbar, ilSurveyPhrases\_getAvailablePhrases(), ilSurveyPhrases\_getCategoriesForPhrase(), ilRbacSystem\checkAccess(), ILIAS\Repository\ctrl(), ilLinkButton\getInstance(), and ILIAS\Repository\lng().
Referenced by deletePhrase().
ilSurveyPhrasesGUI::saveEditPhrase | ( | ) |
Definition at line 215 of file class.ilSurveyPhrasesGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and writePostData().
ilSurveyPhrasesGUI::writePostData | ( | bool | $always = false | ) |
Evaluates a posted edit form and writes the form data in the question object.
Definition at line 234 of file class.ilSurveyPhrasesGUI.php.
References $form, ILIAS\LTI\ToolProvider\$key, ilPropertyFormGUI\getInput(), ILIAS\Repository\int(), and phraseEditor().
Referenced by saveEditPhrase().
|
protected |
Definition at line 39 of file class.ilSurveyPhrasesGUI.php.
|
protected |
Definition at line 34 of file class.ilSurveyPhrasesGUI.php.
Referenced by getCategoriesForPhrase(), and getPhraseTitle().
|
protected |
Definition at line 30 of file class.ilSurveyPhrasesGUI.php.
Referenced by phraseEditor(), and writePostData().
|
protected |
Definition at line 37 of file class.ilSurveyPhrasesGUI.php.
Referenced by __construct().
|
protected |
Definition at line 36 of file class.ilSurveyPhrasesGUI.php.
|
protected |
Definition at line 32 of file class.ilSurveyPhrasesGUI.php.
Referenced by phrases().
|
protected |
Definition at line 41 of file class.ilSurveyPhrasesGUI.php.
|
protected |
Definition at line 31 of file class.ilSurveyPhrasesGUI.php.
|
protected |
Definition at line 33 of file class.ilSurveyPhrasesGUI.php.
Referenced by phrases().
|
protected |
Definition at line 38 of file class.ilSurveyPhrasesGUI.php.
Referenced by __construct().
|
protected |
Definition at line 40 of file class.ilSurveyPhrasesGUI.php.
Referenced by __construct().