Skip to content

Kirby 5.0.4

$page->createNum()

Create the sorting number for the page depending on the blueprint settings

$page->createNum(int|null $num = null): int

Parameters

Name Type Default
$num intornull null

Return type

int

This method modifies the existing $page object it is applied to and returns it again.

Parent class

Kirby\Cms\Page