category_tree::add (public)

 category_tree::add [ -tree_id tree_id ] -name name \
    [ -description description ] [ -site_wide_p site_wide_p ] \
    [ -locale locale ] [ -user_id user_id ] \
    [ -creation_ip creation_ip ] [ -context_id context_id ]

Defined in packages/categories/tcl/category-trees-procs.tcl

Insert a new category tree. The same translation will be added in the default language if it's in a different language.

Switches:
-tree_id
(optional)
-name
(required)
-description
(optional)
-site_wide_p
(defaults to "f") (optional)
-locale
(optional)
-user_id
(optional)
-creation_ip
(optional)
-context_id
(optional)
Options:
-tree_id
tree_id of the category tree to be inserted.
-locale
locale of the language. [ad_conn locale] used by default.
-name
tree name.
-description
description of the category tree.
-user_id
user that adds the category tree. [ad_conn user_id] used by default.
-creation_ip
ip-address of the user that adds the category tree. [ad_conn peeraddr] used by default.
-context_id
context_id of the category tree. [ad_conn package_id] used by default.
Returns:
tree_id
Author:
Timo Hentschel <timo@timohentschel.de>

Partial Call Graph (max 5 caller/called nodes):
%3 test_category_crud category_crud (test categories) category_tree::add category_tree::add test_category_crud->category_tree::add test_category_get_procs category_get_procs (test categories) test_category_get_procs->category_tree::add test_category_link category_link (test categories) test_category_link->category_tree::add test_category_synonyms category_synonyms (test categories) test_category_synonyms->category_tree::add test_category_tree_procs category_tree_procs (test categories) test_category_tree_procs->category_tree::add ad_conn ad_conn (public) category_tree::add->ad_conn category_tree::flush_translation_cache category_tree::flush_translation_cache (public) category_tree::add->category_tree::flush_translation_cache db_exec_plsql db_exec_plsql (public) category_tree::add->db_exec_plsql db_transaction db_transaction (public) category_tree::add->db_transaction parameter::get parameter::get (public) category_tree::add->parameter::get category_tree::import category_tree::import (public) category_tree::import->category_tree::add category_tree::xml::import category_tree::xml::import (public) category_tree::xml::import->category_tree::add packages/categories/lib/tree-form.tcl packages/categories/ lib/tree-form.tcl packages/categories/lib/tree-form.tcl->category_tree::add

Testcases:
category_synonyms, category_link, category_crud, category_get_procs, category_tree_procs
[ show source ]
Show another procedure: