Skip to content

Kirby 5.0.4

$pageTree->children()

Returns children for the parent as entries

$pageTree->children(string|null $parent = null, string|null $moving = null): array

Parameters

Name Type Default
$parent stringornull null
$moving stringornull null

Return type

array

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

Parent class

Kirby\Panel\Controller\PageTree