ILIAS
Release_4_0_x_branch Revision 61816
|
Survey phrases class. More...
Public Member Functions | |
__construct () | |
ilSurveyPhrases constructor | |
deletePhrases ($phrase_array) | |
Delete phrases from the database. |
Static Public Member Functions | |
static & | _getAvailablePhrases ($useronly=0) |
Gets the available phrases from the database. | |
static & | _getCategoriesForPhrase ($phrase_id) |
Gets the available categories for a given phrase. |
Survey phrases class.
The ilSurveyPhrases class manages survey phrases (collections of survey categories) for ordinal survey question types.
Definition at line 34 of file class.ilSurveyPhrases.php.
ilSurveyPhrases::__construct | ( | ) |
|
static |
Gets the available phrases from the database.
boolean | $useronly | Returns only the user defined phrases if set to true. The default is false. |
Definition at line 49 of file class.ilSurveyPhrases.php.
References $ilDB, $lng, $result, and $row.
Referenced by ilSurveyPhrasesGUI\deletePhrasesForm(), ilSurveyPhrasesGUI\phrases(), SurveySingleChoiceQuestionGUI\wizardanswers(), and SurveyMatrixQuestionGUI\wizardcolumns().
|
static |
Gets the available categories for a given phrase.
integer | $phrase_id | The database id of the given phrase |
Definition at line 92 of file class.ilSurveyPhrases.php.
References $ilDB, $lng, $result, and $row.
Referenced by ilSurveyPhrasesGUI\deletePhrasesForm(), ilSurveyPhrasesGUI\phrases(), SurveySingleChoiceQuestionGUI\wizardanswers(), and SurveyMatrixQuestionGUI\wizardcolumns().
ilSurveyPhrases::deletePhrases | ( | $phrase_array | ) |
Delete phrases from the database.
array | $phrase_array | An array containing phrase id's to delete |
Definition at line 121 of file class.ilSurveyPhrases.php.
References $ilDB.