ILIAS
Release_4_4_x_branch Revision 61816
|
Survey phrases GUI class. More...
Public Member Functions | |
__construct ($a_object) | |
ilSurveyPhrasesGUI constructor | |
& | executeCommand () |
execute command | |
getCommand ($cmd) | |
Retrieves the ilCtrl command. | |
deletePhrase () | |
Creates a confirmation form to delete personal phases from the database. | |
phrases () | |
Displays a form to manage the user created phrases. | |
cancelDeletePhrase () | |
cancel delete phrases | |
confirmDeletePhrase () | |
confirm delete phrases | |
deletePhrasesForm ($checked_phrases) | |
Creates a confirmation form to delete personal phases from the database. | |
cancelEditPhrase () | |
saveEditPhrase () | |
writePostData ($always=false) | |
Evaluates a posted edit form and writes the form data in the question object. | |
newPhrase () | |
editPhrase () | |
phraseEditor ($checkonly=FALSE) |
Data Fields | |
$object | |
$gui_object | |
$lng | |
$tpl | |
$ctrl | |
$ilias | |
$tree | |
$ref_id |
Protected Member Functions | |
getCategoriesForPhrase ($phrase_id) | |
getPhraseTitle ($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 35 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::__construct | ( | $a_object | ) |
ilSurveyPhrasesGUI constructor
Definition at line 50 of file class.ilSurveyPhrasesGUI.php.
References $ilCtrl, $ilias, $lng, $tpl, and $tree.
ilSurveyPhrasesGUI::cancelDeletePhrase | ( | ) |
cancel delete phrases
Definition at line 151 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::cancelEditPhrase | ( | ) |
Definition at line 224 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::confirmDeletePhrase | ( | ) |
confirm delete phrases
Definition at line 159 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 95 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 208 of file class.ilSurveyPhrasesGUI.php.
References ilSurveyPhrases\_getAvailablePhrases(), and ilSurveyPhrases\_getCategoriesForPhrase().
Referenced by deletePhrase().
ilSurveyPhrasesGUI::editPhrase | ( | ) |
Definition at line 285 of file class.ilSurveyPhrasesGUI.php.
References $_POST, and ilUtil\sendFailure().
& ilSurveyPhrasesGUI::executeCommand | ( | ) |
execute command
Definition at line 69 of file class.ilSurveyPhrasesGUI.php.
References $cmd, $ret, and getCommand().
|
protected |
Definition at line 167 of file class.ilSurveyPhrasesGUI.php.
References $result.
Referenced by phraseEditor().
ilSurveyPhrasesGUI::getCommand | ( | $cmd | ) |
Retrieves the ilCtrl command.
Definition at line 87 of file class.ilSurveyPhrasesGUI.php.
References $cmd.
Referenced by executeCommand().
|
protected |
Definition at line 187 of file class.ilSurveyPhrasesGUI.php.
Referenced by phraseEditor().
ilSurveyPhrasesGUI::newPhrase | ( | ) |
Definition at line 280 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::phraseEditor | ( | $checkonly = FALSE | ) |
Definition at line 305 of file class.ilSurveyPhrasesGUI.php.
References $_GET, $errors, getCategoriesForPhrase(), getPhraseTitle(), ilFormPropertyGUI\setRequired(), and ilTextInputGUI\setValue().
Referenced by writePostData().
ilSurveyPhrasesGUI::phrases | ( | ) |
Displays a form to manage the user created phrases.
public
Definition at line 119 of file class.ilSurveyPhrasesGUI.php.
References ilSurveyPhrases\_getAvailablePhrases(), ilSurveyPhrases\_getCategoriesForPhrase(), and ilUtil\sendInfo().
Referenced by deletePhrase().
ilSurveyPhrasesGUI::saveEditPhrase | ( | ) |
Definition at line 229 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 254 of file class.ilSurveyPhrasesGUI.php.
References $_POST, and phraseEditor().
Referenced by saveEditPhrase().
ilSurveyPhrasesGUI::$ctrl |
Definition at line 41 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::$gui_object |
Definition at line 38 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::$ilias |
Definition at line 42 of file class.ilSurveyPhrasesGUI.php.
Referenced by __construct().
ilSurveyPhrasesGUI::$lng |
Definition at line 39 of file class.ilSurveyPhrasesGUI.php.
Referenced by __construct().
ilSurveyPhrasesGUI::$object |
Definition at line 37 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::$ref_id |
Definition at line 44 of file class.ilSurveyPhrasesGUI.php.
ilSurveyPhrasesGUI::$tpl |
Definition at line 40 of file class.ilSurveyPhrasesGUI.php.
Referenced by __construct().
ilSurveyPhrasesGUI::$tree |
Definition at line 43 of file class.ilSurveyPhrasesGUI.php.
Referenced by __construct().