kernel/private/classes/ezptopologicalsortnode.php

Show: inherited
Table of Contents

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.

See
\ezpTopologicalSort  

Properties

Propertyprotected  $children= ''
Details
Type
n/a
Propertypublic  $name= ''
Details
Type
n/a
Propertyprotected  $parents= ''
Details
Type
n/a

Methods

methodpublic__construct( string $name ) : void

ezpTopologicalSortNode constructor.

Parameters
Name Type Description
$name string

Name used to define the node

methodpublicparentCount( ) : int

Returns the number of registered parents.

Returns
Type Description
int
methodpublicpopChild( ) : \ezpTopologicalSortNode | false

Pop a child from the list of children.

Returns
Type Description
\ezpTopologicalSortNode | false ezpTopologicalSortNode or false if list is empty
methodpublicregisterChild( \ezpTopologicalSortNode $childNode ) : void

Register a child node.

Parameters
Name Type Description
$childNode \ezpTopologicalSortNode

Child node to register

methodpublicregisterParent( \ezpTopologicalSortNode $parentNode ) : void

Register a parent node.

Parameters
Name Type Description
$parentNode \ezpTopologicalSortNode

Parent node to register

methodpublicunregisterParent( \ezpTopologicalSortNode $parentNode ) : void

Unregister a parent node.

Parameters
Name Type Description
$parentNode \ezpTopologicalSortNode

Parent node to unregister

Documentation was generated by DocBlox 0.18.1.