❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$file->toArray($callback = null)
Converts the entire file object into a plain PHP array
$callback
(callable)
Mapping callback
return
(array)
↑
Cheat Sheet overview
←
$file->thumb($params)
→
$file->type()
↓
Back to Cheat Sheet section
Top