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):
%3 email_image::create_type_folder_rel email_image::create_type_folder_rel (public) rel_types::new rel_types::new email_image::create_type_folder_rel->rel_types::new install::xml::action::relation-type install::xml::action::relation-type (public) install::xml::action::relation-type->rel_types::new packages/acs-subsite/www/admin/rel-types/new-2.tcl packages/acs-subsite/ www/admin/rel-types/new-2.tcl packages/acs-subsite/www/admin/rel-types/new-2.tcl->rel_types::new db_0or1row db_0or1row (public) rel_types::new->db_0or1row db_exec_plsql db_exec_plsql (public) rel_types::new->db_exec_plsql lang::message::register lang::message::register (public) rel_types::new->lang::message::register package_recreate_hierarchy package_recreate_hierarchy (public) rel_types::new->package_recreate_hierarchy plsql_utility::generate_constraint_name plsql_utility::generate_constraint_name (public) rel_types::new->plsql_utility::generate_constraint_name

Testcases:
No testcase defined.
[ show source ]
Show another procedure: