❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$collection->findBy($key, $value)
Find a single item by a key and value pair
$key
(string)
$value
(mixed)
return
(mixed)
↑
Toolkit API overview
←
$collection->filterBy($field [, $operator], $value [, $split])
→
$collection->first()
↓
Back to Toolkit API section
Top