Skip to content

Kirby 3.7.5

$modelwithcontent->save()

Stores the content on disk

$modelwithcontent->save(array $data = null, string $languageCode = null, bool $overwrite = false): Kirby\Cms\ModelWithContent

Parameters

Name Type Default
$data array null
$languageCode string null
$overwrite bool false

Return type

Kirby\Cms\ModelWithContent

This method does not modify the existing $modelwithcontent object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\ModelWithContent