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 - 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>

Partial Call Graph (max 5 caller/called nodes):
%3 test_category_get_procs category_get_procs (test categories) category::get_id_by_object_title category::get_id_by_object_title test_category_get_procs->category::get_id_by_object_title db_string db_string (public) category::get_id_by_object_title->db_string

Testcases:
category_get_procs
[ show source ]
Show another procedure: