Merx

$orderPage->changeTemplate()

Changes the page template

$orderPage->changeTemplate(string $template): Kirby\Cms\Page

Parameters

Name Type Default
$template string -

Return type

Kirby\Cms\Page

Exceptions

Type Description
LogicException If the textfile cannot be renamed/moved

Parent class

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