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

 xo::db::sql::acs_object_type[i] create_type [ -dbn dbn ] \
    -object_type object_type  -pretty_name pretty_name  \
    -pretty_plural pretty_plural  -supertype supertype  \
    [ -table_name table_name ] [ -id_column id_column ] \
    [ -package_name package_name ] [ -abstract_p abstract_p ] \
    [ -type_extension_table type_extension_table ] \
    [ -name_method name_method ] [ -create_table_p create_table_p ] \
    [ -dynamic_p dynamic_p ]

Defined in /var/www/openacs.org/packages/xotcl-core/tcl/05-db-procs.tcl

Automatically generated method

Switches:
-dbn (optional)
-object_type (required)
-pretty_name (required)
-pretty_plural (required)
-supertype (required)
-table_name (optional)
-id_column (optional)
-package_name (optional)
-abstract_p (optional, defaults to "f")
-type_extension_table (optional)
-name_method (optional)
-create_table_p (optional, defaults to "f")
-dynamic_p (optional, defaults to "f")

Testcases:
xotcl_core_tutorial_2
[ show source ]
Show another procedure: