xo::db::CrItem instproc rename (public)
<instance of xo::db::CrItem> rename -old_name old_name \ -new_name new_name
Defined in packages/xotcl-core/tcl/cr-procs.tcl
Rename a content item
- Switches:
- -old_name
(required)- -new_name
(required)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- create_form_with_form_instance
Source code: set item_id ${:item_id} ::xo::dc dml update_rename "update cr_items set name = :new_name where item_id = :item_id" set :name $new_name :update_item_indexXQL Not present: Generic, PostgreSQL, Oracle