Skip to content

Kirby 6.0.0

$file->html()

Converts the file to html

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

Parameters

Name Type Default
$attr array<string, mixed> []

Return type

string

Parent class

Kirby\Cms\File