category_tree::get_data (public)
category_tree::get_data tree_id [ locale ]
Defined in packages/categories/tcl/category-trees-procs.tcl
Get category tree name, description and other data.
- Parameters:
- tree_id (required)
- category tree to get the data of.
- locale (optional)
- language in which to get the name and description.
- Returns:
- array: tree_name description site_wide_p
- Author:
- Timo Hentschel <timo@timohentschel.de>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- category_tree_procs
Source code: set tree(site_wide_p) [db_string get_site_wide_p { select site_wide_p from category_trees where tree_id = :tree_id }] lassign [category_tree::get_translation $tree_id $locale] tree(tree_name) tree(description) return [array get tree]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