❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$media->load($data = array())
Safely requires a file if it exists
$data
(array)
Optional variables, which will be made available to the file
return
(mixed)
Return value from the PHP file
↑
Toolkit API overview
←
$media->isWritable()
→
$media->mime()
↓
Back to Toolkit API section
Top