Merx

$ordersPage->copy()

Copies the page to a new parent. Low-level method, ensure to run all necessary checks (e.g. permissions) before calling it.

$ordersPage->copy(array $options = []): Kirby\Cms\Page

Parameters

Name Type Default
$options array []

Return type

Kirby\Cms\Page

Exceptions

Type Description
DuplicateException If the page already exists

Parent class

Wagnerwagner\Merx\OrdersPage inherited from Kirby\Cms\Page