xowiki::Package instproc require_root_folder (public)
<instance of xowiki::Package> require_root_folder \ [ -parent_id parent_id ] [ -content_types content_types ] \ -name name
Defined in /var/www/openacs.org/packages/xowiki/tcl/package-procs.tcl
Make sure, the root folder for the given package exists. If not, create it and register all allowed content types.
- Switches:
- -parent_id (optional, defaults to
"-100"
)- -content_types (optional)
- -name (required)
- Returns:
- folder_id
- Testcases:
- package_normalize_path, create_form_with_form_instance