Skip to content

Kirby 4.4.1

$file->html()

Converts the file to html

$file->html(array $attr = [ ]): string

Parameters

Name Type Default
$attr array [ ]

Return type

string

Parent class

Kirby\Cms\File