content::item::get_descendants (public)

 content::item::get_descendants -parent_id parent_id [ -depth depth ]

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

Returns the ids of every content item that is descendant of supplied parent_id.

Switches:
-parent_id (required)
-depth (optional)
how deep we should go in the hierarchy. 1 means direct children. Returns every descendant when not specified.
Returns:
list of cr_items.item_id

Testcases:
content_item_nested_structure
[ show source ]
Show another procedure: