forum::new (public)

 forum::new [ -forum_id forum_id ] -name name [ -charter charter ] \
    [ -presentation_type presentation_type ] \
    [ -posting_policy posting_policy ] -package_id package_id \
    [ -new_questions_allowed_p new_questions_allowed_p ] \
    [ -anonymous_allowed_p anonymous_allowed_p ] \
    [ -attachments_allowed_p attachments_allowed_p ] [ -no_callback ]

Defined in packages/forums/tcl/forums-procs.tcl

create a new forum

Switches:
-forum_id
(optional)
-name
(required)
-charter
(optional)
-presentation_type
(defaults to "flat") (optional)
-posting_policy
(defaults to "open") (optional)
-package_id
(required)
-new_questions_allowed_p
(defaults to "t") (optional)
-anonymous_allowed_p
(defaults to "f") (optional)
-attachments_allowed_p
(defaults to "t") (optional)
-no_callback
(boolean) (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_forum_count_test forum_count_test (test forums) forum::new forum::new test_forum_count_test->forum::new test_forum_enable_disable forum_enable_disable (test forums) test_forum_enable_disable->forum::new test_forum_message_new forum_message_new (test forums) test_forum_message_new->forum::new test_forum_new forum_new (test forums) test_forum_new->forum::new test_web_forum_edit web_forum_edit (test forums) test_web_forum_edit->forum::new callback callback (public) forum::new->callback db_dml db_dml (public) forum::new->db_dml forum::flush_templating_cache forum::flush_templating_cache (public) forum::new->forum::flush_templating_cache package_instantiate_object package_instantiate_object (public) forum::new->package_instantiate_object callback::pm::project_new::impl::forums callback::pm::project_new::impl::forums (private) callback::pm::project_new::impl::forums->forum::new install::xml::action::forum-create install::xml::action::forum-create (private) install::xml::action::forum-create->forum::new packages/forums/lib/forums/new.tcl packages/forums/ lib/forums/new.tcl packages/forums/lib/forums/new.tcl->forum::new

Testcases:
forum_new, forum_message_new, forum_count_test, web_forum_new, web_forum_view, web_forum_edit, web_forums_message_and_reply, forum_enable_disable
[ show source ]
Show another procedure: