new Content()
Creates a new Content object
new Content(array $data = [ ], Kirby\Cms\ModelWithContent|null $parent = null, bool $normalize = true)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $data | array |
[ ]
|
|
| $parent | Kirby\Cms\ModelWithContentornull |
null
|
|
| $normalize | bool |
true
|
Set to false if the input field keys are already lowercase |