ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Survey phrases GUI class. More...
Public Member Functions | |
__construct ($a_object) | |
ilSurveyPhrasesGUI constructor More... | |
executeCommand () | |
execute command More... | |
getCommand ($cmd) | |
Retrieves the ilCtrl command. More... | |
deletePhrase () | |
Creates a confirmation form to delete personal phases from the database. More... | |
phrases () | |
Displays a form to manage the user created phrases. More... | |
cancelDeletePhrase () | |
cancel delete phrases More... | |
confirmDeletePhrase () | |
confirm delete phrases More... | |
deletePhrasesForm ($checked_phrases) | |
Creates a confirmation form to delete personal phases from the database. More... | |
cancelEditPhrase () | |
saveEditPhrase () | |
writePostData ($always=false) | |
Evaluates a posted edit form and writes the form data in the question object. More... | |
newPhrase () | |
editPhrase () | |
phraseEditor ($checkonly=false) | |
Data Fields | |
$object | |
$gui_object | |
$lng | |
$tpl | |
$ctrl | |
$tree | |
$ref_id | |
Protected Member Functions | |
getCategoriesForPhrase ($phrase_id) | |
getPhraseTitle ($phrase_id) | |
Protected Attributes | |
$rbacsystem | |
$toolbar | |
$db | |
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 35 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::__construct | ( | $a_object | ) |
ilSurveyPhrasesGUI constructor
Definition at line 64 of file class.ilSurveyPhrasesGUI.php.
References $DIC, $lng, $tpl, and $tree.
ilSurveyPhrasesGUI::cancelDeletePhrase | ( | ) |
cancel delete phrases
Definition at line 165 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::cancelEditPhrase | ( | ) |
Definition at line 234 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::confirmDeletePhrase | ( | ) |
confirm delete phrases
Definition at line 173 of file class.ilSurveyPhrasesGUI.php.
References $_POST.
ilSurveyPhrasesGUI::deletePhrase | ( | ) |
Creates a confirmation form to delete personal phases from the database.
Definition at line 114 of file class.ilSurveyPhrasesGUI.php.
References $_POST, deletePhrasesForm(), phrases(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilSurveyPhrasesGUI::deletePhrasesForm | ( | $checked_phrases | ) |
Creates a confirmation form to delete personal phases from the database.
array | $checked_phrases | An array with the id's of the phrases checked for deletion |
Definition at line 220 of file class.ilSurveyPhrasesGUI.php.
References $data, ilSurveyPhrases\_getAvailablePhrases(), and ilSurveyPhrases\_getCategoriesForPhrase().
Referenced by deletePhrase().
ilSurveyPhrasesGUI::editPhrase | ( | ) |
Definition at line 287 of file class.ilSurveyPhrasesGUI.php.
References $_POST, and ilUtil\sendFailure().
ilSurveyPhrasesGUI::executeCommand | ( | ) |
execute command
Definition at line 89 of file class.ilSurveyPhrasesGUI.php.
References $ret, and getCommand().
|
protected |
Definition at line 181 of file class.ilSurveyPhrasesGUI.php.
References $data, $db, $ilDB, and $result.
Referenced by phraseEditor().
ilSurveyPhrasesGUI::getCommand | ( | $cmd | ) |
Retrieves the ilCtrl command.
Definition at line 106 of file class.ilSurveyPhrasesGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 199 of file class.ilSurveyPhrasesGUI.php.
References $db, $ilDB, and $result.
Referenced by phraseEditor().
ilSurveyPhrasesGUI::newPhrase | ( | ) |
Definition at line 282 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::phraseEditor | ( | $checkonly = false | ) |
Definition at line 304 of file class.ilSurveyPhrasesGUI.php.
References $_GET, $errors, getCategoriesForPhrase(), getPhraseTitle(), and ilFormPropertyGUI\setRequired().
Referenced by writePostData().
ilSurveyPhrasesGUI::phrases | ( | ) |
Displays a form to manage the user created phrases.
public
Definition at line 135 of file class.ilSurveyPhrasesGUI.php.
References $data, $rbacsystem, $toolbar, ilSurveyPhrases\_getAvailablePhrases(), ilSurveyPhrases\_getCategoriesForPhrase(), ilLinkButton\getInstance(), and ilUtil\sendInfo().
Referenced by deletePhrase().
ilSurveyPhrasesGUI::saveEditPhrase | ( | ) |
Definition at line 239 of file class.ilSurveyPhrasesGUI.php.
References $_GET, $result, and writePostData().
ilSurveyPhrasesGUI::writePostData | ( | $always = false | ) |
Evaluates a posted edit form and writes the form data in the question object.
Definition at line 260 of file class.ilSurveyPhrasesGUI.php.
References $_POST, $db, $ilDB, and phraseEditor().
Referenced by saveEditPhrase().
ilSurveyPhrasesGUI::$ctrl |
Definition at line 56 of file class.ilSurveyPhrasesGUI.php.
|
protected |
Definition at line 50 of file class.ilSurveyPhrasesGUI.php.
Referenced by getCategoriesForPhrase(), getPhraseTitle(), and writePostData().
ilSurveyPhrasesGUI::$gui_object |
Definition at line 53 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::$lng |
Definition at line 54 of file class.ilSurveyPhrasesGUI.php.
Referenced by __construct().
ilSurveyPhrasesGUI::$object |
Definition at line 52 of file class.ilSurveyPhrasesGUI.php.
|
protected |
Definition at line 40 of file class.ilSurveyPhrasesGUI.php.
Referenced by phrases().
ilSurveyPhrasesGUI::$ref_id |
Definition at line 58 of file class.ilSurveyPhrasesGUI.php.
|
protected |
Definition at line 45 of file class.ilSurveyPhrasesGUI.php.
Referenced by phrases().
ilSurveyPhrasesGUI::$tpl |
Definition at line 55 of file class.ilSurveyPhrasesGUI.php.
Referenced by __construct().
ilSurveyPhrasesGUI::$tree |
Definition at line 57 of file class.ilSurveyPhrasesGUI.php.
Referenced by __construct().