category_tree::get_translation (public)

 category_tree::get_translation tree_id [ locale ]

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

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

Parameters:
tree_id (required)
category tree to get the name and description of.
locale (optional)
language in which to get the name and description. [ad_conn locale] used by default.
Returns:
tcl-list: name description
Author:
Timo Hentschel <timo@timohentschel.de>

Testcases:
category_tree_import, category_crud
[ show source ]
Show another procedure: