libSmalldb
v2.0.2
|
Public Member Functions | |
__construct (NestedGraph $graph, string $id, array $attrs) | |
remove () | |
connectEdge (Edge $edge) | |
disconnectEdge (Edge $edge) | |
getConnectedEdges () | |
Get list of edges connected to this node. More... | |
getNestedGraph () | |
Get nested graph of this node. More... | |
hasNestedGraph () | |
Does the node have a nested graph? More... | |
getId () | |
getGraph () | |
getRootGraph () | |
offsetSet ($key, $value) | |
& | offsetGet ($key) |
getAttr (string $key, $defaultValue=null) | |
offsetUnset ($key) | |
setAttr (string $key, $newValue) | |
removeAttr (string $key) | |
offsetExists ($key) | |
getAttributes () | |
Protected Member Functions | |
onAttrChanged (string $key, $oldValue, $newValue) | |
Handle change of an attribute. More... | |
__construct | ( | NestedGraph | $graph, |
string | $id, | ||
array | $attrs | ||
) |
remove | ( | ) |
connectEdge | ( | Edge | $edge | ) |
disconnectEdge | ( | Edge | $edge | ) |
getConnectedEdges | ( | ) |
Get list of edges connected to this node.
An edge may be connected multiple times to the node, but it will be present in this list only once.
getNestedGraph | ( | ) |
Get nested graph of this node.
The graph is created if the node does not have any.
hasNestedGraph | ( | ) |
Does the node have a nested graph?
|
protected |
Handle change of an attribute.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |