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
)
:
voidezpTopologicalSortNode constructor.
Parameters
| Name | Type | Description |
|---|---|---|
| $name | string | Name used to define the node |

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

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

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

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