Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
en:create:functions:random_items [13.01.2015 16:02] – [random_items()] alexander.ritter | en:create:functions:random_items [13.01.2015 16:12] – [random_items()] alexander.ritter |
---|
* //number//\\ Number of items that should be drawn. If the second parameter is omitted, the items will be returned in a random order. | * //number//\\ Number of items that should be drawn. If the second parameter is omitted, the items will be returned in a random order. |
| |
**Note:** As a rule, enabling item rotation directly in the question (//Items' order// -> "Shuffle/rotate randomly") is preferred over using the function ''random_items()''. This function only provides useful added value if the same random selection is needed again in a later question, of if not all of the items should be displayed. | **Note:** As a rule, enabling item rotation directly in the question (//Items' order// -> "Shuffle/rotate randomly") is preferred over using the function ''random_items()''. This function only provides real added value if the same random selection is needed again in a later question, or if not all of the items should be displayed. |
| |
===== Examples ===== | ===== Examples ===== |