content::keyword::get_options_flat (public)

 content::keyword::get_options_flat [ -parent_id parent_id ]

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

Returns a flat options list of the keywords with the given parent_id.

Switches:
-parent_id
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_list_of_lists db_list_of_lists (public) content::keyword::get_options_flat content::keyword::get_options_flat content::keyword::get_options_flat->db_list_of_lists

Testcases:
No testcase defined.
Source code:
    return [db_list_of_lists select_keyword_options {
        select heading, keyword_id
        from   cr_keywords
        where  ((:parent_id is null and parent_id is null) or parent_id = :parent_id)
        order  by lower(heading)
    }]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: