|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Survey phrases GUI class. More...
Collaboration diagram for ilSurveyPhrasesGUI: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.
| 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.
| 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().
Here is the call graph for this function:| 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(), and ilSurveyPhrases\_getCategoriesForPhrase().
Referenced by deletePhrase().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyPhrasesGUI::editPhrase | ( | ) |
Definition at line 293 of file class.ilSurveyPhrasesGUI.php.
References $_POST, and ilUtil\sendFailure().
Here is the call graph for this function:| ilSurveyPhrasesGUI::executeCommand | ( | ) |
execute command
Definition at line 90 of file class.ilSurveyPhrasesGUI.php.
References $ret, and getCommand().
Here is the call graph for this function:
|
protected |
Definition at line 184 of file class.ilSurveyPhrasesGUI.php.
References $data, $db, $ilDB, and $result.
Referenced by phraseEditor().
Here is the caller graph for this function:| ilSurveyPhrasesGUI::getCommand | ( | $cmd | ) |
Retrieves the ilCtrl command.
Definition at line 107 of file class.ilSurveyPhrasesGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
protected |
Definition at line 203 of file class.ilSurveyPhrasesGUI.php.
References $db, $ilDB, $result, and $row.
Referenced by phraseEditor().
Here is the caller graph for this function:| 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(), and getPhraseTitle().
Referenced by writePostData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyPhrasesGUI::phrases | ( | ) |
Displays a form to manage the user created phrases.
@access public
Definition at line 136 of file class.ilSurveyPhrasesGUI.php.
References $data, $rbacsystem, $toolbar, ilSurveyPhrases\_getAvailablePhrases(), ilSurveyPhrases\_getCategoriesForPhrase(), ilLinkButton\getInstance(), and ilUtil\sendInfo().
Referenced by deletePhrase().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyPhrasesGUI::saveEditPhrase | ( | ) |
Definition at line 244 of file class.ilSurveyPhrasesGUI.php.
References $_GET, $result, and writePostData().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().