You are here

public function EasyRdf_Graph::newBNodeId in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/easyrdf/easyrdf/lib/EasyRdf/Graph.php \EasyRdf_Graph::newBNodeId()

Create a new unique blank node identifier and return it.

Return value

string The new blank node identifier (e.g. _:genid1)

1 call to EasyRdf_Graph::newBNodeId()
EasyRdf_Graph::newBNode in vendor/easyrdf/easyrdf/lib/EasyRdf/Graph.php
Create a new blank node in the graph and return it.

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Graph.php, line 203

Class

EasyRdf_Graph
Container for collection of EasyRdf_Resources.

Code

public function newBNodeId() {
  return "_:genid" . ++$this->bNodeCount;
}