NodeInterface
interface NodeInterface
Interface NodeInterface
Properties
string | $d | stringid | |
string | $itle | stringtitle | |
string | $arentId | stringparentId |
Methods
string|int
getNodeIdentifier()
Get the unique identifier for the node
string
getNodeIdentifierName()
Get the unique identifier name for the node
string|int
getParentNodeIdentifier()
Get the parent identifier for the node
void
getParent()
Return the parent node or null
void
array
getChildren()
Return the child node items or empty array
void
bool
hasChild()
Check having child and return the boolean result.
array
getBreadcrumbs()
get breadcrumbs
string
getOrderKeyName()
Get the order key name for model
Details
at line 37
string|int
getNodeIdentifier()
Get the unique identifier for the node
at line 44
string
getNodeIdentifierName()
Get the unique identifier name for the node
at line 51
string|int
getParentNodeIdentifier()
Get the parent identifier for the node
at line 59
void
setParent(NodeInterface $node)
Set parent node
at line 66
NodeInterface
getParent()
Return the parent node or null
at line 74
void
addChild(NodeInterface $node)
Add child node
at line 81
array
getChildren()
Return the child node items or empty array
at line 89
void
setChildren(NodeInterface[] $children = array())
Set child nodes
at line 96
bool
hasChild()
Check having child and return the boolean result.
at line 103
array
getBreadcrumbs()
get breadcrumbs
at line 110
string
getOrderKeyName()
Get the order key name for model