Beta version

class NodeTreeWidget extends AbstractWidget

Prepare a Node tree according to Node hierarchy and given options.

[email protected]}

Constants

SESSION_ITEM_PER_PAGE

Methods

__construct(Request $request, Controller $refereeController, Node $parent = null, Translation $translation = null)

No description

Tag
getTag()

No description

$this
setTag(Tag $tag)

No description

boolean
isStackTree()

No description

$this
setStackTree(boolean $newstackTree)

No description

array
getChildrenNodes(Node $parent = null, bool $subRequest = false)

No description

getRootNode()

No description

array|null
getFilters()

Get entity list manager filters.

getTranslation()

No description

array
getAvailableTranslations()

No description

ArrayCollection
getNodes()

No description

boolean
getCanReorder()

Gets the value of canReorder.

Details

at line 64
__construct(Request $request, Controller $refereeController, Node $parent = null, Translation $translation = null)

Parameters

Request $request Current kernel request
Controller $refereeController Calling controller
Node $parent Entry point of NodeTreeWidget, set null if it's root
Translation $translation NodeTree translation

at line 87
Tag getTag()

Return Value

Tag

at line 97
$this setTag(Tag $tag)

Parameters

Tag $tag

Return Value

$this

at line 107
boolean isStackTree()

Return Value

boolean

at line 117
$this setStackTree(boolean $newstackTree)

Parameters

boolean $newstackTree

Return Value

$this

at line 199
array getChildrenNodes(Node $parent = null, bool $subRequest = false)

Parameters

Node $parent
bool $subRequest Default: false

Return Value

array

at line 206
Node getRootNode()

Return Value

Node

at line 218
array|null getFilters()

Get entity list manager filters.

Call getNodes() first to populate this.

Return Value

array|null

at line 225
Translation getTranslation()

Return Value

Translation

at line 233
array getAvailableTranslations()

Return Value

array

at line 241
ArrayCollection getNodes()

Return Value

ArrayCollection

at line 257
boolean getCanReorder()

Gets the value of canReorder.

Return Value

boolean