|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for ilAssQuestionTypeOrderer:Public Member Functions | |
| __construct ($unOrderedTypes, $orderMode=self::ORDER_MODE_ALPHA) | |
| Constructor. More... | |
| getOrderedTypes ($withDeprecatedTypes=true) | |
| getter for ordered question types More... | |
| fixQuestionTypeOrderSortCallback ($a, $b) | |
| custom sort callback for ordering the question types More... | |
Data Fields | |
| const | ORDER_MODE_FIX = 'fix' |
| order mode with fixed priority for ordering More... | |
| const | ORDER_MODE_ALPHA = 'alpha' |
| order mode that orders by alphanumerical priority More... | |
Static Public Attributes | |
| static | $fixQuestionTypeOrder |
| static | $flippedQuestionTypeOrder = null |
Protected Attributes | |
| $deprecatedTypes | |
Definition at line 14 of file class.ilAssQuestionTypeOrderer.php.
| ilAssQuestionTypeOrderer::__construct | ( | $unOrderedTypes, | |
$orderMode = self::ORDER_MODE_ALPHA |
|||
| ) |
Constructor.
| array | $unOrderedTypes | |
| string | $orderMode |
| ilTestQuestionPoolException |
Definition at line 77 of file class.ilAssQuestionTypeOrderer.php.
References ORDER_MODE_ALPHA, and ORDER_MODE_FIX.
| ilAssQuestionTypeOrderer::fixQuestionTypeOrderSortCallback | ( | $a, | |
| $b | |||
| ) |
custom sort callback for ordering the question types
@access public
| array | $a | |
| array | $b |
Definition at line 134 of file class.ilAssQuestionTypeOrderer.php.
References Vendor\Package\$a, and Vendor\Package\$b.
| ilAssQuestionTypeOrderer::getOrderedTypes | ( | $withDeprecatedTypes = true | ) |
getter for ordered question types
Definition at line 107 of file class.ilAssQuestionTypeOrderer.php.
|
protected |
Definition at line 59 of file class.ilAssQuestionTypeOrderer.php.
|
static |
Definition at line 31 of file class.ilAssQuestionTypeOrderer.php.
|
static |
Definition at line 68 of file class.ilAssQuestionTypeOrderer.php.
| const ilAssQuestionTypeOrderer::ORDER_MODE_ALPHA = 'alpha' |
order mode that orders by alphanumerical priority
Definition at line 24 of file class.ilAssQuestionTypeOrderer.php.
Referenced by __construct(), and ilObjQuestionPool\_getQuestionTypes().
| const ilAssQuestionTypeOrderer::ORDER_MODE_FIX = 'fix' |
order mode with fixed priority for ordering
Definition at line 19 of file class.ilAssQuestionTypeOrderer.php.
Referenced by __construct(), and ilObjQuestionPool\_getQuestionTypes().