content::keyword::get_children (public)

 content::keyword::get_children [ -parent_id parent_id ]

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

Returns the ids of the keywords having the given parent_id. Returns an empty list if there are no children.

Switches:
-parent_id
(optional)
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_content_repository_trivial_smoke_test acs_content_repository_trivial_smoke_test (test acs-content-repository) content::keyword::get_children content::keyword::get_children test_acs_content_repository_trivial_smoke_test->content::keyword::get_children db_list db_list (public) content::keyword::get_children->db_list

Testcases:
acs_content_repository_trivial_smoke_test
Source code:
    return [db_list select_child_keywords {
        select keyword_id
        from cr_keywords
        where parent_id = :parent_id
    }]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: