🎉 If you are still on v2, we offer attractive prices for all owners of a Kirby 2 license to upgrade to v3.
Upgrade your v2 license now
.
$media->toJson($callback = null)
Converts the entire media object into a JSON string
$callback
(callable)
Mapping callback
return
(string)
↑
Toolkit API overview
←
$media->toArray($callback = null)
→
$media->touch()
↓
Back to Toolkit API section
Top