category::change_parent (public)

 category::change_parent -category_id category_id -tree_id tree_id \
    [ -parent_id parent_id ]

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

Changes parent category of a category.

Switches:
-category_id (required)
-tree_id (required)
-parent_id (optional)
Options:
-category_id
category_id whose parent should change.
-tree_id
tree_id of the category tree.
-parent_id
new parent category_id.
Author:
Timo Hentschel <timo@timohentschel.de>

Partial Call Graph (max 5 caller/called nodes):
%3 test_category_tree_procs category_tree_procs (test categories) category::change_parent category::change_parent test_category_tree_procs->category::change_parent category_tree::flush_cache category_tree::flush_cache (public) category::change_parent->category_tree::flush_cache db_exec_plsql db_exec_plsql (public) category::change_parent->db_exec_plsql packages/categories/www/cadmin/category-parent-change-2.tcl packages/categories/ www/cadmin/category-parent-change-2.tcl packages/categories/www/cadmin/category-parent-change-2.tcl->category::change_parent

Testcases:
category_tree_procs
[ show source ]
Show another procedure: