category::get_data (public)

 category::get_data category_id [ locale ]

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

Gets the category name and the tree name in the specified language, if available. Use default language otherwise.

Parameters:
category_id (required)
category_id to get the names.
locale (optional)
language in which to get the names. [ad_conn locale] used by default.
Returns:
list of category_id, category_name, tree_id and tree_name.
Author:
Timo Hentschel <timo@timohentschel.de>

Testcases:
category_get_procs
[ show source ]
Show another procedure: