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 (required)
- 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):
- 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