content::keyword::get_keyword_id (public)

 content::keyword::get_keyword_id -parent_id parent_id -heading heading

Defined in packages/acs-content-repository/tcl/content-keyword-procs.tcl

Get the keyword with the given heading under the given parent. Returns the empty string if none exists.

Switches:
-parent_id (required)
-heading (required)

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::install_keywords_setup bug_tracker::install_keywords_setup (public) content::keyword::get_keyword_id content::keyword::get_keyword_id bug_tracker::install_keywords_setup->content::keyword::get_keyword_id db_string db_string (public) content::keyword::get_keyword_id->db_string

Testcases:
No testcase defined.
Source code:
    return [db_string select_keyword_id {
    select keyword_id 
    from   cr_keywords
    where  parent_id = :parent_id
    and    heading = :heading
    } -default {}]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: