category::get_names (public)

 category::get_names category_ids [ locale ]

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

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

Parameters:
category_ids (required)
category_ids for which to get the name.
locale (optional)
language in which to get the name. [ad_conn locale] used by default.
Returns:
list of names corresponding to the list of category_id's supplied.
Author:
Timo Hentschel <timo@timohentschel.de>

Partial Call Graph (max 5 caller/called nodes):
%3 test_category_get_procs category_get_procs (test categories) category::get_names category::get_names test_category_get_procs->category::get_names test_category_tree_procs category_tree_procs (test categories) test_category_tree_procs->category::get_names category::get_name category::get_name (public) category::get_names->category::get_name packages/faq/www/categories/list-categories.tcl packages/faq/ www/categories/list-categories.tcl packages/faq/www/categories/list-categories.tcl->category::get_names

Testcases:
category_get_procs, category_tree_procs
Source code:
    return [lmap category_id $category_ids {category::get_name $category_id $locale}]
XQL Not present:
Generic
PostgreSQL XQL file:
packages/categories/tcl/categories-procs-postgresql.xql

Oracle XQL file:
packages/categories/tcl/categories-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: