Skip to content

Html::__callStatic()

Generic HTML tag generator Can be called like Html::p('A paragraph', ['class' => 'text'])

Html::__callStatic(string $tag, array $arguments = [ ]): string

Parameters

Name Type Default Description
$tag * string Tag name
$arguments array [ ] Further arguments for the Html::tag() method

Return type

string

Parent class

Kirby\Cms\Html inherited from Kirby\Toolkit\Html