You are here

function TaxonomyEdgeDatabaseTransaction::commit in Taxonomy Edge 6

1 call to TaxonomyEdgeDatabaseTransaction::commit()
TaxonomyEdgeDatabaseTransaction::__destruct in ./taxonomy_edge.module

File

./taxonomy_edge.module, line 638
Selecting all children of a given taxonomy term can be a pain. This module makes it easier to do this, by maintaining a complete list of edges for each term using the adjecency matrix graph theory.

Class

TaxonomyEdgeDatabaseTransaction
Class for simulating DBTNG transactions

Code

function commit() {
  if ($this->end) {
    return call_user_func($this->end, TRUE);
  }
  else {
    return self::end(TRUE);
  }
}