|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for SurveyCategories:Public Member Functions | |
| __construct () | |
| getCategoryCount () | |
| addCategoryAtPosition (string $categoryname, int $position, int $other=0, int $neutral=0, ?string $label=null) | |
| Adds a category at a given position. More... | |
| moveCategoryUp (int $index) | |
| moveCategoryDown (int $index) | |
| addCategory (?string $categoryname, int $other=0, int $neutral=0, ?string $label=null, ?int $scale=null) | |
| addCategoryArray (array $categories) | |
| removeCategory (int $index) | |
| removeCategories (array $array) | |
| removeCategoryWithName (string $name) | |
| getCategory (int $index) | |
| getCategoryForScale (int $scale) | |
| getCategoryIndex (string $name) | |
| getIndex (ilSurveyCategory $category) | |
| getNewScale () | |
| getScale (int $index) | |
| flushCategories () | |
| getCategories () | |
Data Fields | |
| array | $categories |
| An array containing the categories of a nominal or ordinal question object. More... | |
Protected Attributes | |
| ilLogger | $log |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class SurveyCategories
Definition at line 25 of file class.SurveyCategories.php.
| SurveyCategories::__construct | ( | ) |
Definition at line 35 of file class.SurveyCategories.php.
References ilLoggerFactory\getLogger().
Here is the call graph for this function:| SurveyCategories::addCategory | ( | ?string | $categoryname, |
| int | $other = 0, |
||
| int | $neutral = 0, |
||
| ?string | $label = null, |
||
| ?int | $scale = null |
||
| ) |
Definition at line 84 of file class.SurveyCategories.php.
| SurveyCategories::addCategoryArray | ( | array | $categories | ) |
| array | $categories | array with categories |
Definition at line 97 of file class.SurveyCategories.php.
| SurveyCategories::addCategoryAtPosition | ( | string | $categoryname, |
| int | $position, | ||
| int | $other = 0, |
||
| int | $neutral = 0, |
||
| ?string | $label = null |
||
| ) |
Adds a category at a given position.
| int | $position | The position of the category (starting with index 0) |
Definition at line 50 of file class.SurveyCategories.php.
| SurveyCategories::flushCategories | ( | ) |
Definition at line 195 of file class.SurveyCategories.php.
| SurveyCategories::getCategories | ( | ) |
Definition at line 200 of file class.SurveyCategories.php.
| SurveyCategories::getCategory | ( | int | $index | ) |
Definition at line 130 of file class.SurveyCategories.php.
| SurveyCategories::getCategoryCount | ( | ) |
Definition at line 41 of file class.SurveyCategories.php.
| SurveyCategories::getCategoryForScale | ( | int | $scale | ) |
Definition at line 136 of file class.SurveyCategories.php.
| SurveyCategories::getCategoryIndex | ( | string | $name | ) |
Definition at line 147 of file class.SurveyCategories.php.
| SurveyCategories::getIndex | ( | ilSurveyCategory | $category | ) |
Definition at line 158 of file class.SurveyCategories.php.
| SurveyCategories::getNewScale | ( | ) |
Definition at line 168 of file class.SurveyCategories.php.
| SurveyCategories::getScale | ( | int | $index | ) |
Definition at line 182 of file class.SurveyCategories.php.
| SurveyCategories::moveCategoryDown | ( | int | $index | ) |
Definition at line 75 of file class.SurveyCategories.php.
| SurveyCategories::moveCategoryUp | ( | int | $index | ) |
Definition at line 66 of file class.SurveyCategories.php.
| SurveyCategories::removeCategories | ( | array | $array | ) |
| int[] | $array | index positions |
Definition at line 111 of file class.SurveyCategories.php.
| SurveyCategories::removeCategory | ( | int | $index | ) |
Definition at line 102 of file class.SurveyCategories.php.
| SurveyCategories::removeCategoryWithName | ( | string | $name | ) |
Definition at line 119 of file class.SurveyCategories.php.
| array SurveyCategories::$categories |
An array containing the categories of a nominal or ordinal question object.
Definition at line 33 of file class.SurveyCategories.php.
|
protected |
Definition at line 27 of file class.SurveyCategories.php.