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
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: