function taxonomy_edge_invalidate_order in Taxonomy Edge 7
Same name and namespace in other branches
- 8 taxonomy_edge.module \taxonomy_edge_invalidate_order()
- 6 taxonomy_edge.module \taxonomy_edge_invalidate_order()
- 7.2 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.
File
- ./
taxonomy_edge.module, line 803 - Optimization of taxonomy data model for SQL performance.
Code
function taxonomy_edge_invalidate_order($vid) {
db_delete('taxonomy_term_edge_order')
->condition('vid', -$vid)
->execute();
}