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
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- content_item
Source code: return [package_exec_plsql -var_list [list [list content_type $content_type ] [list supertype $supertype ] [list pretty_name $pretty_name ] [list pretty_plural $pretty_plural ] [list table_name $table_name ] [list id_column $id_column ] [list name_method $name_method ] ] content_type create_type]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-content-repository/tcl/content-type-procs.xql