❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$media->name()
Returns the name of the file without extension
return
(string)
Example
echo $media->name(); // my-image
↑
Toolkit API overview
←
$media->move($to)
→
$media->niceSize()
↓
Back to Toolkit API section
Top