category::phase_out (public)

 category::phase_out category_id

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

Marks a category to be phasing out. That means this category and all its subcategories will no longer appear in the categorization widget to categorize new objects / update existing objects, but all existing categorizations will still remain valid. Make sure to use category_tree::flush_cache afterwards.

Parameters:
category_id - category_id of the category to be phased out
Author:
Timo Hentschel <timo@timohentschel.de>
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_category_crud category_crud (test categories) category::phase_out category::phase_out test_category_crud->category::phase_out db_exec_plsql db_exec_plsql (public) category::phase_out->db_exec_plsql packages/categories/www/cadmin/category-phase-out.tcl packages/categories/ www/cadmin/category-phase-out.tcl packages/categories/www/cadmin/category-phase-out.tcl->category::phase_out

Testcases:
category_crud
Source code:
    db_exec_plsql phase_out ""
XQL Not present:
Generic
PostgreSQL XQL file:
<fullquery name="category::phase_out.phase_out">
    <querytext>
	    select category__phase_out(:category_id)
      </querytext>
</fullquery>
packages/categories/tcl/categories-procs-postgresql.xql

Oracle XQL file:
<fullquery name="category::phase_out.phase_out">
    <querytext>
      
	    begin
	    category.phase_out(:category_id);
	    end;
	
      </querytext>
</fullquery>
packages/categories/tcl/categories-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: