category::map_object (public)

 category::map_object [ -remove_old ] -object_id object_id \
    category_id_list

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

Map an object to several categories.

Switches:
-remove_old (optional, boolean)
-object_id (required)
Parameters:
category_id_list (required)
tcl-list of category_ids to be mapped to the object.
Options:
-remove_old
Modifier to be used when categorizing existing objects. Will make sure to delete all old categorizations.
-object_id
object to be categorized.
Author:
Timo Hentschel <timo@timohentschel.de>

Testcases:
category_object_mapping
[ show source ]
Show another procedure: