Skip to content

Kirby 5.0.4

new PageCopy()

new PageCopy() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

new PageCopy(Kirby\Cms\Page $copy, Kirby\Cms\Page|null $original = null, bool $withFiles = false, bool $withChildren = false, array $uuids = [ ])

Parameters

Name Type Default
$copyrequired Kirby\Cms\Page no default value
$original Kirby\Cms\Pageornull null
$withFiles bool false
$withChildren bool false
$uuids array [ ]

Parent class

Kirby\Cms\PageCopy