kernel/private/classes/ezptopologicalsortnode.php
File containing the ezpTopologicalSortNode class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- kernel
- Version
- 4.6.0
\ezpTopologicalSortNode
Package: Default
Node in a topological sort.
Properties
Methods


__construct(
string $name
)
:
void
ezpTopologicalSortNode constructor.
Parameters
Name | Type | Description |
---|---|---|
$name | string | Name used to define the node |


popChild(
)
:
\ezpTopologicalSortNode | false
Pop a child from the list of children.
Returns
Type | Description |
---|---|
\ezpTopologicalSortNode | false | ezpTopologicalSortNode or false if list is empty |


registerChild(
\ezpTopologicalSortNode $childNode
)
:
void
Register a child node.
Parameters
Name | Type | Description |
---|---|---|
$childNode | \ezpTopologicalSortNode | Child node to register |


registerParent(
\ezpTopologicalSortNode $parentNode
)
:
void
Register a parent node.
Parameters
Name | Type | Description |
---|---|---|
$parentNode | \ezpTopologicalSortNode | Parent node to register |


unregisterParent(
\ezpTopologicalSortNode $parentNode
)
:
void
Unregister a parent node.
Parameters
Name | Type | Description |
---|---|---|
$parentNode | \ezpTopologicalSortNode | Parent node to unregister |