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>

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: