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>

Partial Call Graph (max 5 caller/called nodes):
%3 test_category_object_mapping category_object_mapping (test categories) category::map_object category::map_object test_category_object_mapping->category::map_object category::delete category::delete (public) category::map_object->category::delete db_dml db_dml (public) category::map_object->db_dml db_transaction db_transaction (public) category::map_object->db_transaction Class ::Generic::Form Class ::Generic::Form (public) Class ::Generic::Form->category::map_object Generic::Form instproc generate Generic::Form instproc generate (public) Generic::Form instproc generate->category::map_object packages/categories/lib/map.tcl packages/categories/ lib/map.tcl packages/categories/lib/map.tcl->category::map_object packages/faq/www/admin/q-and-a-add-edit.tcl packages/faq/ www/admin/q-and-a-add-edit.tcl packages/faq/www/admin/q-and-a-add-edit.tcl->category::map_object packages/file-storage/www/file-add.tcl packages/file-storage/ www/file-add.tcl packages/file-storage/www/file-add.tcl->category::map_object

Testcases:
category_object_mapping
[ show source ]
Show another procedure: