🎉 If you are still on v2, we offer attractive prices for all owners of a Kirby 2 license to upgrade to v3.
Upgrade your v2 license now
.
$collection->prepend($key, $object)
Prepends an element to the data array
$key
(string)
$object
(mixed)
return
($collection)
↑
Toolkit API overview
←
$collection->pluck($field, $split = null, $unique = false)
→
$collection->prev()
↓
Back to Toolkit API section
Top