Skip to content

Kirby 6.0.1

Stats::from()

Stats::from(ModelWithContent $model, array|string $reports, string $size = 'large'): Stats

Parameters

Name Type Default
$modelrequired Kirby\Cms\ModelWithContent no default value
$reportsrequired arrayorstring no default value
$size string 'large'

Return type

Kirby\Panel\Ui\Stats

Parent class

Kirby\Panel\Ui\Stats