❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$collection->key()
Returns the current key from the array
return
(string)
↑
Toolkit API overview
←
$collection->indexOf($needle)
→
$collection->keyOf($needle)
↓
Back to Toolkit API section
Top