You are here

function taxonomy_edge_invalidate_order in Taxonomy Edge 6

Same name and namespace in other branches
  1. 8 taxonomy_edge.module \taxonomy_edge_invalidate_order()
  2. 7.2 taxonomy_edge.module \taxonomy_edge_invalidate_order()
  3. 7 taxonomy_edge.module \taxonomy_edge_invalidate_order()

Invalidate order for a vocabulary

6 calls to taxonomy_edge_invalidate_order()
TaxonomyEdgeTreeTestCase::testOrder in tests/tree.test
taxonomy_edge_rebuild_edges in ./taxonomy_edge.rebuild.inc
Rebuild entire edge list.
taxonomy_edge_rebuild_order in ./taxonomy_edge.rebuild.inc
Rebuild the sorted tree.
_taxonomy_edge_attach_subtree in ./taxonomy_edge.module
Attach path and children to new parents
_taxonomy_edge_taxonomy_term_insert in ./taxonomy_edge.module
Insert a term into the edge tree.

... See full list

File

./taxonomy_edge.module, line 730
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.

Code

function taxonomy_edge_invalidate_order($vid) {
  db_query("DELETE FROM {term_edge_order} WHERE vid = %d", -$vid);
}