category::flush_translation_cache (public)
category::flush_translation_cache category_id
Defined in packages/categories/tcl/categories-procs.tcl
Flushes category translation cache of one category.
- Parameters:
- category_id (required)
- category to be flushed.
- Author:
- Timo Hentschel <timo@timohentschel.de>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- category_crud
Source code: set translations [list] db_foreach flush_translation_cache { select t.locale, t.name, c.tree_id from category_translations t, categories c where t.category_id = :category_id and t.category_id = c.category_id } { lappend translations $locale $name } if {[llength $translations] > 0} { set translations [list $tree_id $translations] } nsv_set categories $category_id $translationsXQL Not present: Generic PostgreSQL XQL file: packages/categories/tcl/categories-procs-postgresql.xql
Oracle XQL file: packages/categories/tcl/categories-procs-oracle.xql