CacheableSiteTree::getChildren
Get all child nodes of the current node and apply an optional filter. The default is to return all children using ShowInMenus=1 if no/dummy/bad filter is passed.
Signature
public function getChildren([boolean
$showInMenusFilter = true,
[array
$filter = ]] )
Parameters
$showInMenusFilter
— boolean- Whether or not to apply the ShowInMenus filter
$filter
— array
Returns
- ArrayList