xo::db::sql::content_type proc create_type (public)

 xo::db::sql::content_type[i] 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):
%3 test_xotcl_core_tutorial_4 xotcl_core_tutorial_4 (test xotcl-core) xo::db::sql::content_type proc create_type xo::db::sql::content_type proc create_type test_xotcl_core_tutorial_4->xo::db::sql::content_type proc create_type db_with_handle db_with_handle (public) xo::db::sql::content_type proc create_type->db_with_handle

Testcases:
xotcl_core_tutorial_4
[ show source ]
Show another procedure: