category_tree::get_name (public)

 category_tree::get_name tree_id [ locale ]

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

Gets the category tree name in the given language, if available. Uses the default language otherwise.

Parameters:
tree_id (required)
category tree to get the name of.
locale (optional)
language in which to get the name. [ad_conn locale] used by default.
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::get_name category_tree::get_name test_category_tree_procs->category_tree::get_name category_tree::get_translation category_tree::get_translation (public) category_tree::get_name->category_tree::get_translation category::context_bar category::context_bar (private) category::context_bar->category_tree::get_name category::get_data category::get_data (public) category::get_data->category_tree::get_name category::list::elements category::list::elements (public) category::list::elements->category_tree::get_name category::relation::get_widget category::relation::get_widget (public) category::relation::get_widget->category_tree::get_name category_tree::get_mapped_trees_from_object_list category_tree::get_mapped_trees_from_object_list (public) category_tree::get_mapped_trees_from_object_list->category_tree::get_name

Testcases:
category_tree_procs
Source code:
        return [lindex [category_tree::get_translation $tree_id $locale] 0]
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: