Kirby 2 Docs
❌ Kirby 2 has reached its end of life. 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