content::folder::register_content_type (public)

 content::folder::register_content_type -folder_id folder_id \
    -content_type content_type [ -include_subtypes include_subtypes ]

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

Register an allowed content type for folder_id

Switches:
-folder_id (required)
folder to register type to
-content_type (required)
content_revision or subtype of content_revision
-include_subtypes (defaults to "f") (optional)
t or f
Returns:
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2004-05-29

Partial Call Graph (max 5 caller/called nodes):
%3 test_content_extlink content_extlink (test acs-content-repository) content::folder::register_content_type content::folder::register_content_type test_content_extlink->content::folder::register_content_type test_content_folder content_folder (test acs-content-repository) test_content_folder->content::folder::register_content_type test_content_image content_image (test acs-content-repository) test_content_image->content::folder::register_content_type test_content_item content_item (test acs-content-repository) test_content_item->content::folder::register_content_type test_content_revision content_revision (test acs-content-repository) test_content_revision->content::folder::register_content_type package_exec_plsql package_exec_plsql (public) content::folder::register_content_type->package_exec_plsql bug_tracker::install::package_upgrade bug_tracker::install::package_upgrade (private) bug_tracker::install::package_upgrade->content::folder::register_content_type bug_tracker::project_new bug_tracker::project_new (public) bug_tracker::project_new->content::folder::register_content_type cr_item_search::test_setup cr_item_search::test_setup (private) cr_item_search::test_setup->content::folder::register_content_type email_image::create_type_folder_rel email_image::create_type_folder_rel (public) email_image::create_type_folder_rel->content::folder::register_content_type subsite::after_upgrade subsite::after_upgrade (private) subsite::after_upgrade->content::folder::register_content_type

Testcases:
content_extlink, content_folder, content_image, image_new, content_item, content_revision
Source code:
    return [package_exec_plsql  -var_list [list  [list folder_id $folder_id]  [list content_type $content_type]  [list include_subtypes $include_subtypes]]  content_folder register_content_type]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: