| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Class for cloze question select gaps. More...
 Inheritance diagram for assClozeSelectGap:
 Inheritance diagram for assClozeSelectGap: Collaboration diagram for assClozeSelectGap:
 Collaboration diagram for assClozeSelectGap:| Public Member Functions | |
| assClozeSelectGap ($a_type) | |
| assClozeSelectGap constructor | |
| getShuffle () | |
| Gets the shuffle state of the items. | |
| setType ($a_shuffle=TRUE) | |
| Sets the shuffle state of the items. | |
| arrayShuffle ($array) | |
| Shuffles the values of a given array. | |
| getItems () | |
| Gets the items of a cloze gap. | |
|  Public Member Functions inherited from assClozeGap | |
| assClozeGap ($a_type) | |
| assClozeGap constructor | |
| getType () | |
| Gets the cloze gap type. | |
| getItemsRaw () | |
| Gets the items of a cloze gap. | |
| getItemCount () | |
| Gets the item count. | |
| addItem ($a_item) | |
| Adds a gap item. | |
| setItemPoints ($order, $points) | |
| Sets the points for a given item. | |
| deleteItem ($order) | |
| Deletes an item at a given index. | |
| setItemLowerBound ($order, $bound) | |
| Sets the lower bound for a given item. | |
| setItemUpperBound ($order, $bound) | |
| Sets the upper bound for a given item. | |
| getItem ($a_index) | |
| Gets the item with a given index. | |
| clearItems () | |
| Removes all gap items. | |
| setShuffle ($a_shuffle=TRUE) | |
| Sets the shuffle state of the items. | |
| getMaxWidth () | |
| Returns the maximum width of the gap. | |
| getBestSolutionIndexes () | |
| Returns the indexes of the best solutions for the gap. | |
| getBestSolutionOutput () | |
| Data Fields | |
| $shuffle | |
|  Data Fields inherited from assClozeGap | |
| $type | |
| $items | |
| $shuffle | |
Class for cloze question select gaps.
assClozeSelectGap is a class for the abstraction of cloze select gaps. It represents a select gap.
Definition at line 37 of file class.assClozeSelectGap.php.
| assClozeSelectGap::arrayShuffle | ( | $array | ) | 
Shuffles the values of a given array.
Shuffles the values of a given array
| array | $array | An array which should be shuffled public | 
Reimplemented from assClozeGap.
Definition at line 95 of file class.assClozeSelectGap.php.
Referenced by getItems().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| assClozeSelectGap::assClozeSelectGap | ( | $a_type | ) | 
assClozeSelectGap constructor
| integer | $a_type | An integer representing the gap type public | 
Definition at line 52 of file class.assClozeSelectGap.php.
| assClozeSelectGap::getItems | ( | ) | 
Gets the items of a cloze gap.
Gets the items of a cloze gap
Reimplemented from assClozeGap.
Definition at line 125 of file class.assClozeSelectGap.php.
References assClozeGap\$items, and arrayShuffle().
 Here is the call graph for this function:
 Here is the call graph for this function:| assClozeSelectGap::getShuffle | ( | ) | 
Gets the shuffle state of the items.
Gets the shuffle state of the items
Reimplemented from assClozeGap.
Definition at line 68 of file class.assClozeSelectGap.php.
References $shuffle.
| assClozeSelectGap::setType | ( | $a_shuffle = TRUE | ) | 
Sets the shuffle state of the items.
Sets the shuffle state of the items
| boolean | $a_shuffle | Shuffle state public | 
Reimplemented from assClozeGap.
Definition at line 82 of file class.assClozeSelectGap.php.
| assClozeSelectGap::$shuffle | 
Definition at line 44 of file class.assClozeSelectGap.php.
Referenced by getShuffle().