xo::db::sql::content_type proc register_relation_type (public)
xo::db::sql::content_typeregister_relation_type [ -dbn dbn ] \ -content_type content_type -target_type target_type \ [ -relation_tag relation_tag ] [ -min_n min_n ] [ -max_n max_n ]
Defined in /var/www/openacs.org/packages/xotcl-core/tcl/05-db-procs.tcl
Automatically generated method
- Switches:
- -dbn (optional)
- -content_type (required)
- -target_type (required)
- -relation_tag (optional, defaults to
"generic")- -min_n (optional, defaults to
"0")- -max_n (optional)
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)