richtext::ckeditor4::ckfinder::require_root_folder (private)
richtext::ckeditor4::ckfinder::require_root_folder \ [ -parent_id parent_id ] [ -name name ]
Defined in packages/richtext-ckeditor4/tcl/ckfinder-procs.tcl
Helper function to find the root folder for ckfinder attachments.
- Switches:
- -parent_id (optional, defaults to
"-100"
)- -name (optional, defaults to
"attachments"
)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set root_folder_id [content::item::get_id -root_folder_id $parent_id -item_path $name] if {$root_folder_id eq ""} { set root_folder_id [content::item::new -name $name -parent_id $parent_id] } return $root_folder_idXQL Not present: Generic, PostgreSQL, Oracle