Skip to content

Kirby 5.1.2

new Stats()

new Stats(string $component = 'k-stats', Kirby\Cms\ModelWithContent|null $model = null, array $reports = [ ], string $size = 'large')

Parameters

Name Type Default
$component string 'k-stats'
$model Kirby\Cms\ModelWithContentornull null
$reports array [ ]
$size string 'large'

Parent class

Kirby\Panel\Ui\Stats