category-links-procs.tcl

category-links procs for the site-wide categorization package.

Location:
packages/categories/tcl/category-links-procs.tcl
Created:
04 February 2004
Author:
Timo Hentschel <timo@timohentschel.de>
CVS Identification:
$Id: category-links-procs.tcl,v 1.3 2017/08/07 23:48:05 gustafn Exp $

Procedures in this file

Detailed information

category_link::add (public)

 category_link::add -from_category_id from_category_id \
    -to_category_id to_category_id

Insert a new category link.

Switches:
-from_category_id (required)
-to_category_id (required)
Options:
-from_category_id
category_id the links comes from.
-to_category_id
category_id the link goes to.
Returns:
link_id
Author:
Timo Hentschel <timo@timohentschel.de>

Partial Call Graph (max 5 caller/called nodes):
%3 test_category_link category_link (test categories) category_link::add category_link::add test_category_link->category_link::add db_exec_plsql db_exec_plsql (public) category_link::add->db_exec_plsql db_transaction db_transaction (public) category_link::add->db_transaction packages/categories/www/cadmin/category-link-add-3.tcl packages/categories/ www/cadmin/category-link-add-3.tcl packages/categories/www/cadmin/category-link-add-3.tcl->category_link::add packages/categories/www/cadmin/category-link-add-4.tcl packages/categories/ www/cadmin/category-link-add-4.tcl packages/categories/www/cadmin/category-link-add-4.tcl->category_link::add

Testcases:
category_link

category_link::delete (public)

 category_link::delete link_id

Deletes a category link.

Parameters:
link_id (required)
category link to be deleted.
Author:
Timo Hentschel <timo@timohentschel.de>

Partial Call Graph (max 5 caller/called nodes):
%3 test_category_link category_link (test categories) category_link::delete category_link::delete test_category_link->category_link::delete db_exec_plsql db_exec_plsql (public) category_link::delete->db_exec_plsql packages/categories/www/cadmin/category-link-delete-2.tcl packages/categories/ www/cadmin/category-link-delete-2.tcl packages/categories/www/cadmin/category-link-delete-2.tcl->category_link::delete

Testcases:
category_link
[ show source ]