❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$collection->shuffle()
Shuffle all elements in the array
return
($collection)
a new shuffled collection
Example
$collection->shuffle();
↑
Toolkit API overview
←
$collection->set($key, $value)
→
$collection->slice($offset = null, $limit = null)
↓
Back to Toolkit API section
Top