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>

Partial Call Graph (max 5 caller/called nodes):
%3 test_category_get_procs category_get_procs (test categories) category::get_data category::get_data test_category_get_procs->category::get_data category::get_name category::get_name (public) category::get_data->category::get_name category::get_tree category::get_tree (public) category::get_data->category::get_tree category_tree::get_name category_tree::get_name (public) category::get_data->category_tree::get_name Class ::xowiki::includelet::my-categories Class ::xowiki::includelet::my-categories (public) Class ::xowiki::includelet::my-categories->category::get_data category::list::get_pretty_list category::list::get_pretty_list (public) category::list::get_pretty_list->category::get_data

Testcases:
category_get_procs
[ show source ]
Show another procedure: