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 (optional, defaults to "f")
t or f
Returns:
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2004-05-29

Testcases:
content_extlink, content_folder, content_image, image_new, content_item, content_revision, fs_publish_file
[ show source ]
Show another procedure: