content::folder::delete (public)
content::folder::delete -folder_id folder_id [ -cascade_p cascade_p ]
Defined in packages/acs-content-repository/tcl/content-folder-procs.tcl
Delete a content folder
- Switches:
- -folder_id (required)
- item_id of the content_folder
- -cascade_p (optional, defaults to
"f"
)- if true delete all children, if false, return error if folder is nonempty
- Returns:
- Error:
- Author:
- Dave Bauer <dave@thedesignexperience.org>
- Created:
- 2004-05-28
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- content_image, content_item, content_revision
Source code: return [package_exec_plsql -var_list [list [list folder_id $folder_id ] [list cascade_p $cascade_p] ] content_folder del]XQL Not present: Generic, PostgreSQL, Oracle