category_tree::update (public)
category_tree::update -tree_id tree_id -name name \ [ -description description ] [ -site_wide_p site_wide_p ] \ [ -locale locale ] [ -user_id user_id ] \ [ -modifying_ip modifying_ip ]
Defined in packages/categories/tcl/category-trees-procs.tcl
Updates / inserts a category tree translation.
- Switches:
- Options:
- -tree_id (required)
- -name (required)
- -description (optional)
- -site_wide_p (optional, defaults to
"f"
)- -locale (optional)
- -user_id (optional)
- -modifying_ip (optional)
- -tree_id
- tree_id of the category tree to be updated.
- -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.
- -modifying_ip
- ip-address of the user that updated the category tree. [ad_conn peeraddr] used by default.
- Author:
- Timo Hentschel <timo@timohentschel.de>
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- category_crud, category_tree_procs