category_tree::get_categories (public)

 category_tree::get_categories -tree_id tree_id [ -locale locale ]

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

Return root categories of a given tree

Switches:
-tree_id (required)
-locale (optional)
sort results by name in specified locale. If a translation in this locale is not available, the one in en_US will be used. When missing, will default to locale of the connection or en_US when we are outside a connection context.
Returns:
list of category ids

Testcases:
category_tree_procs
[ show source ]
Show another procedure: