|
ILIAS
release_8 Revision v8.24
|
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 23 of file class.SurveyCategories.php.
| SurveyCategories::__construct | ( | ) |
Definition at line 33 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 82 of file class.SurveyCategories.php.
| SurveyCategories::addCategoryArray | ( | array | $categories | ) |
| array | $categories | array with categories |
Definition at line 95 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 48 of file class.SurveyCategories.php.
| SurveyCategories::flushCategories | ( | ) |
Definition at line 193 of file class.SurveyCategories.php.
| SurveyCategories::getCategories | ( | ) |
Definition at line 198 of file class.SurveyCategories.php.
| SurveyCategories::getCategory | ( | int | $index | ) |
Definition at line 128 of file class.SurveyCategories.php.
| SurveyCategories::getCategoryCount | ( | ) |
Definition at line 39 of file class.SurveyCategories.php.
| SurveyCategories::getCategoryForScale | ( | int | $scale | ) |
Definition at line 134 of file class.SurveyCategories.php.
| SurveyCategories::getCategoryIndex | ( | string | $name | ) |
Definition at line 145 of file class.SurveyCategories.php.
| SurveyCategories::getIndex | ( | ilSurveyCategory | $category | ) |
Definition at line 156 of file class.SurveyCategories.php.
References $index.
| SurveyCategories::getNewScale | ( | ) |
Definition at line 166 of file class.SurveyCategories.php.
References $index.
| SurveyCategories::getScale | ( | int | $index | ) |
Definition at line 180 of file class.SurveyCategories.php.
| SurveyCategories::moveCategoryDown | ( | int | $index | ) |
| SurveyCategories::moveCategoryUp | ( | int | $index | ) |
| SurveyCategories::removeCategories | ( | array | $array | ) |
| int[] | $array | index positions |
Definition at line 109 of file class.SurveyCategories.php.
References $index.
| SurveyCategories::removeCategory | ( | int | $index | ) |
Definition at line 100 of file class.SurveyCategories.php.
References $index.
| SurveyCategories::removeCategoryWithName | ( | string | $name | ) |
Definition at line 117 of file class.SurveyCategories.php.
| array SurveyCategories::$categories |
An array containing the categories of a nominal or ordinal question object.
Definition at line 31 of file class.SurveyCategories.php.
|
protected |
Definition at line 25 of file class.SurveyCategories.php.