Media::link()
Tries to find a file by model and filename and to copy it to the media folder.
Parameters
Name | Type | Default |
---|---|---|
$model * | Kirby\Cms\Page |Kirby\Cms\Site |Kirby\Cms\User |null |
– |
$hash * | string |
– |
$filename * | string |
– |
Return type
Kirby\Cms\Response
|false