ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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, $ilCtrl, $lng, $tpl, and $tree.
ilSurveyPhrasesGUI::cancelDeletePhrase | ( | ) |
cancel delete phrases
Definition at line 168 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::cancelEditPhrase | ( | ) |
Definition at line 239 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::confirmDeletePhrase | ( | ) |
confirm delete phrases
Definition at line 176 of file class.ilSurveyPhrasesGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilSurveyPhrasesGUI::deletePhrase | ( | ) |
Creates a confirmation form to delete personal phases from the database.
Definition at line 115 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 224 of file class.ilSurveyPhrasesGUI.php.
References $data, ilSurveyPhrases\_getAvailablePhrases(), ilSurveyPhrases\_getCategoriesForPhrase(), and array.
Referenced by deletePhrase().
ilSurveyPhrasesGUI::editPhrase | ( | ) |
Definition at line 293 of file class.ilSurveyPhrasesGUI.php.
References $_POST, and ilUtil\sendFailure().
ilSurveyPhrasesGUI::executeCommand | ( | ) |
execute command
Definition at line 90 of file class.ilSurveyPhrasesGUI.php.
References $ret, and getCommand().
|
protected |
Definition at line 184 of file class.ilSurveyPhrasesGUI.php.
References $data, $db, $ilDB, $result, and array.
Referenced by phraseEditor().
ilSurveyPhrasesGUI::getCommand | ( | $cmd | ) |
Retrieves the ilCtrl command.
Definition at line 107 of file class.ilSurveyPhrasesGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 203 of file class.ilSurveyPhrasesGUI.php.
References $db, $ilDB, $result, $row, and array.
Referenced by phraseEditor().
ilSurveyPhrasesGUI::newPhrase | ( | ) |
Definition at line 288 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::phraseEditor | ( | $checkonly = false | ) |
Definition at line 310 of file class.ilSurveyPhrasesGUI.php.
References $_GET, $errors, $form, $title, getCategoriesForPhrase(), getPhraseTitle(), and ilFormPropertyGUI\setRequired().
Referenced by writePostData().
ilSurveyPhrasesGUI::phrases | ( | ) |
Displays a form to manage the user created phrases.
public
Definition at line 136 of file class.ilSurveyPhrasesGUI.php.
References $data, $rbacsystem, $toolbar, ilSurveyPhrases\_getAvailablePhrases(), ilSurveyPhrases\_getCategoriesForPhrase(), array, ilLinkButton\getInstance(), and ilUtil\sendInfo().
Referenced by deletePhrase().
ilSurveyPhrasesGUI::saveEditPhrase | ( | ) |
Definition at line 244 of file class.ilSurveyPhrasesGUI.php.
References $_GET, $result, ilUtil\sendSuccess(), and writePostData().
ilSurveyPhrasesGUI::writePostData | ( | $always = false | ) |
Evaluates a posted edit form and writes the form data in the question object.
Definition at line 265 of file class.ilSurveyPhrasesGUI.php.
References $_POST, $db, $ilDB, $key, 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().