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 |
---|---|---|---|
$tagrequired | string |
no default value | Tag name |
$arguments | array |
[ ]
|
Further arguments for the Html::tag() method |
Return type
string
Parent class
Kirby\Cms\Html
inherited from Kirby\Toolkit\Html