Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:create:functions:random_items [13.01.2015 15:55] alexander.ritteren:create:functions:random_items [13.01.2015 16:02] – [random_items()] alexander.ritter
Line 5: Line 5:
 Randomly selects //number// of items from a list of items __or__ from all items in a question. Randomly selects //number// of items from a list of items __or__ from all items in a question.
  
-  * //basis//\\ A list of items (array or comma-separated) __or__ the ID of a question+  * //basis//\\ A list of items (array or comma-separated) __or__ a question ID
   * //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.
  
en/create/functions/random_items.txt · Last modified: 11.04.2018 09:05 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki