category::get_id_by_object_title (public)

 category::get_id_by_object_title title

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

Gets the id of a category given an object title (object_type=category). This is highly useful as the category object title will not change if you change the name (label) of the category, so you can access the category even if the label has changed

Parameters:
title (required)
object title of the category to retrieve
Returns:
the category id or empty string if no category was found
Author:
Peter Kreuzinger <peter.kreuzinger@wu-wien.ac.at>

Testcases:
category_get_procs
[ show source ]
Show another procedure: