rel_types::new (public)
rel_types::new [ -supertype supertype ] [ -role_one role_one ] \ [ -role_two role_two ] [ -table_name table_name ] \ [ -create_table_p create_table_p ] rel_type pretty_name \ pretty_plural object_type_one min_n_rels_one max_n_rels_one \ object_type_two min_n_rels_two max_n_rels_two [ composable_p ]
Defined in packages/acs-subsite/tcl/rel-types-procs.tcl
Creates a new relationship type named rel_type
- Switches:
- -supertype (optional, defaults to
"relationship"
)- -role_one (optional)
- -role_two (optional)
- -table_name (optional)
- -create_table_p (optional, defaults to
"t"
)- Parameters:
- rel_type (required)
- pretty_name (required)
- pretty_plural (required)
- object_type_one (required)
- min_n_rels_one (required)
- max_n_rels_one (required)
- object_type_two (required)
- min_n_rels_two (required)
- max_n_rels_two (required)
- composable_p (optional, defaults to
"t"
)- Author:
- Michael Bryzek <mbryzek@arsdigita.com>
- Created:
- 12/30/2000
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.