category_tree::edit_mapping (public)

 category_tree::edit_mapping -tree_id tree_id -object_id object_id \
    [ -assign_single_p assign_single_p ] \
    [ -require_category_p require_category_p ] [ -widget widget ]

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

Edit the parameters of a mapped category tree.

Switches:
-tree_id
(required)
-object_id
(required)
-assign_single_p
(defaults to "f") (optional)
-require_category_p
(defaults to "f") (optional)
-widget
(optional)
Options:
-tree_id
mapped category tree.
-object_id
object the category tree is mapped to.
-assign_single_p
shows if the user will be allowed to assign multiple categories to objects or only a single one in this subtree.
-require_category_p
shows if the user will have to assign at least one category to objects.
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_tree::edit_mapping category_tree::edit_mapping test_category_tree_procs->category_tree::edit_mapping db_dml db_dml (public) category_tree::edit_mapping->db_dml packages/categories/www/cadmin/tree-map-2.tcl packages/categories/ www/cadmin/tree-map-2.tcl packages/categories/www/cadmin/tree-map-2.tcl->category_tree::edit_mapping

Testcases:
category_tree_procs
Source code:
        db_dml edit_mapping {
            update category_tree_map
        set assign_single_p = :assign_single_p,
                require_category_p = :require_category_p,
                widget = :widget
        where tree_id = :tree_id
        and object_id = :object_id
        }
XQL Not present:
Generic
PostgreSQL XQL file:
packages/categories/tcl/category-trees-procs-postgresql.xql

Oracle XQL file:
packages/categories/tcl/category-trees-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: