xo::db::CrItem instproc save (public)
<instance of xo::db::CrItem> save \ [ -modifying_user modifying_user ] [ -live_p on|off ] \ [ -use_given_publish_date on|off ]
Defined in packages/xotcl-core/tcl/cr-procs.tcl
Updates an item in the content repository. We insert a new revision instead of changing the current revision.
- Switches:
- -modifying_user
(optional)- -live_p
(boolean) (defaults to"true"
) (optional)- make this revision the live revision
- -use_given_publish_date
(boolean) (defaults to"false"
) (optional)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- xotcl_core_tutorial_4, test_cr_items