category_tree::flush_translation_cache (public)

 category_tree::flush_translation_cache tree_id

Defined in packages/categories/tcl/category-trees-procs.tcl

Flushes category tree translation cache of one category tree.

Parameters:
tree_id - category tree to be flushed.
Author:
Timo Hentschel <timo@timohentschel.de>

Partial Call Graph (max 5 caller/called nodes):
%3 test_category_tree_procs category_tree_procs (test categories) category_tree::flush_translation_cache category_tree::flush_translation_cache test_category_tree_procs->category_tree::flush_translation_cache db_foreach db_foreach (public) category_tree::flush_translation_cache->db_foreach category_tree::add category_tree::add (public) category_tree::add->category_tree::flush_translation_cache category_tree::copy category_tree::copy (public) category_tree::copy->category_tree::flush_translation_cache category_tree::delete category_tree::delete (public) category_tree::delete->category_tree::flush_translation_cache category_tree::update category_tree::update (public) category_tree::update->category_tree::flush_translation_cache

Testcases:
category_tree_procs
Source code:
        set translations [list]
        db_foreach flush_translation_cache {
        select locale, name, description
        from category_tree_translations
        where tree_id = :tree_id
        order by locale
        } {
            lappend translations $locale [list $name $description]
        }
        nsv_set category_tree_translations $tree_id $translations
XQL Not present:
Generic
PostgreSQL XQL file:
packages/categories/tcl/category-trees-procs-postgresql.xql

Oracle XQL file:
packages/categories/tcl/category-trees-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: