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>

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: