Documentation

WithChildrenTrait

Trait for elements with children

Table of Contents

Properties

$children  : array<string|int, mixed>

Methods

getChildren()  : array<string|int, mixed>
gets children
preRemove()  : BaseModel
pre remove hook
cmpPosition()  : int
sortChildren()  : void
sort children by position

Properties

Methods

getChildren()

gets children

public getChildren([string|null $locale = null ][, bool $reset = false ]) : array<string|int, mixed>
Parameters
$locale : string|null = null
$reset : bool = false
Return values
array<string|int, mixed>

        
On this page

Search results