new ModelItem()
new ModelItem(Kirby\Cms\ModelWithContent $model, array|string|false|null $image = [ ], string|null $info = null, string|null $layout = null, string|null $text = null)
Parameters
| Name | Type | Default |
|---|---|---|
| $modelrequired | Kirby\Cms\ModelWithContent |
no default value |
| $image | arrayorstringorfalseornull |
[ ]
|
| $info | stringornull |
null
|
| $layout | stringornull |
null
|
| $text | stringornull |
null
|