xo::db::sql::content_type proc create_type (public)
xo::db::sql::content_type create_type [ -dbn dbn ] \ -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/xotcl-core/tcl/05-db-procs.tcl
Automatically generated method
- Switches:
- -dbn
(optional)- -content_type
(required)- -supertype
(defaults to"content_revision"
) (optional)- -pretty_name
(required)- -pretty_plural
(required)- -table_name
(required)- -id_column
(defaults to"XXX"
) (optional)- -name_method
(optional)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- xotcl_core_tutorial_4