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 /var/www/openacs.org/packages/xotcl-core/tcl/05-db-procs.tcl

Automatically generated method

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

Testcases:
xotcl_core_tutorial_4
[ show source ]
Show another procedure: