ILIAS
Release_3_10_x_branch Revision 61812
|
Survey phrases class. More...
Public Member Functions | |
ilSurveyPhrases () | |
ilSurveyPhrases constructor | |
& | _getAvailablePhrases ($useronly=0) |
Gets the available phrases from the database. | |
& | _getCategoriesForPhrase ($phrase_id) |
Gets the available categories for a given phrase. | |
deletePhrases ($phrase_array) | |
Delete phrases from the database. |
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::_getAvailablePhrases | ( | $useronly = 0 | ) |
Gets the available phrases from the database.
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 56 of file class.ilSurveyPhrases.php.
Referenced by SurveyOrdinalQuestionGUI\addPhrase(), and SurveyMatrixQuestionGUI\addPhrase().
& ilSurveyPhrases::_getCategoriesForPhrase | ( | $phrase_id | ) |
Gets the available categories for a given phrase.
Gets the available categories for a given phrase
integer | $phrase_id | The database id of the given phrase |
Definition at line 102 of file class.ilSurveyPhrases.php.
Referenced by SurveyOrdinalQuestionGUI\addPhrase(), and SurveyMatrixQuestionGUI\addPhrase().
ilSurveyPhrases::deletePhrases | ( | $phrase_array | ) |
Delete phrases from the database.
Delete phrases from the database
array | $phrase_array | An array containing phrase id's to delete public |
Definition at line 134 of file class.ilSurveyPhrases.php.
References $result.
ilSurveyPhrases::ilSurveyPhrases | ( | ) |
ilSurveyPhrases constructor
The constructor takes possible arguments an creates an instance of the ilSurveyPhrases object.
public
Definition at line 43 of file class.ilSurveyPhrases.php.