category::get_tree (public)
category::get_tree category_id
Defined in packages/categories/tcl/categories-procs.tcl
Gets the tree_id of the given category.
- Parameters:
- category_id (required)
- category_id or list of category_id's for which to get the tree_id.
- Returns:
- tree_id of the tree the category belongs to.
- Author:
- Timo Hentschel <timo@timohentschel.de>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- category_get_procs
Source code: if {[nsv_names categories] ne "" && [nsv_exists categories $category_id]} { set tree_id [lindex [nsv_get categories $category_id] 0] } else { set tree_id "" } return $tree_idXQL Not present: Generic PostgreSQL XQL file: packages/categories/tcl/categories-procs-postgresql.xql
Oracle XQL file: packages/categories/tcl/categories-procs-oracle.xql