content::type::new (public)

 content::type::new -content_type content_type [ -supertype supertype ] \
    -pretty_name pretty_name -pretty_plural pretty_plural \
    -table_name table_name -id_column id_column \
    [ -name_method name_method ]

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

Switches:
-content_type (required)
-supertype (optional, defaults to "content_revision")
-pretty_name (required)
-pretty_plural (required)
-table_name (required)
-id_column (required)
-name_method (optional)
Returns:
type_id

Testcases:
content_item
[ show source ]
Show another procedure: