category::update (public)

 category::update -category_id category_id -name name \
    [ -locale locale ] [ -description description ] \
    [ -user_id user_id ] [ -modifying_ip modifying_ip ]

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

Updates/inserts a category translation.

Switches:
-category_id
(required)
-name
(required)
-locale
(optional)
-description
(optional)
-user_id
(optional)
-modifying_ip
(optional)
Options:
-category_id
category_id of the category to be updated.
-locale
locale of the language. [ad_conn locale] used by default.
-name
category name.
-description
description of the category.
-user_id
user that updates the category. [ad_conn user_id] used by default.
-modifying_ip
ip-address of the user that updates the category. [ad_conn peeraddr] used by default.
Author:
Timo Hentschel <timo@timohentschel.de>

Partial Call Graph (max 5 caller/called nodes):
%3 test_category_crud category_crud (test categories) category::update category::update test_category_crud->category::update ad_conn ad_conn (public) category::update->ad_conn category::flush_translation_cache category::flush_translation_cache (public) category::update->category::flush_translation_cache db_0or1row db_0or1row (public) category::update->db_0or1row db_exec_plsql db_exec_plsql (public) category::update->db_exec_plsql db_transaction db_transaction (public) category::update->db_transaction category_tree::xml::add_category category_tree::xml::add_category (private) category_tree::xml::add_category->category::update packages/categories/www/cadmin/category-form.tcl packages/categories/ www/cadmin/category-form.tcl packages/categories/www/cadmin/category-form.tcl->category::update

Testcases:
category_crud
[ show source ]
Show another procedure: