OpenMediaVault
0.6 (Kralizec)
The open network attached storage solution
|
Public Member Functions | |
clean () | |
add ($node, $deps=array()) | |
sort ($ignoreMissing=TRUE) | |
Sorts a series of dependencies in linear order (topological sort).
OMVToplogicalSort::add | ( | $node, | |
$deps = array() |
|||
) |
Add a node and its dependencies.
node | The node. |
deps | The node dependencies. This can be an array or string. Defaults to an empty array. |
OMVToplogicalSort::clean | ( | ) |
Cleanup the internal structures.
OMVToplogicalSort::sort | ( | $ignoreMissing = TRUE | ) |
ignoreMissing | Ignore dependency nodes that do not exist. Defaults to TRUE. |