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>

Testcases:
category_crud
[ show source ]
Show another procedure: