xo::db::CrItem instproc save_new (public)
<instance of xo::db::CrItem> save_new [ -package_id package_id ] \ [ -creation_user creation_user ] [ -creation_ip creation_ip ] \ [ -context_id context_id ] [ -live_p on|off ] \ [ -use_given_publish_date on|off ]
Defined in packages/xotcl-core/tcl/cr-procs.tcl
Insert a new item to the content repository.
- Switches:
- -package_id
(optional)- -creation_user
(optional)- user_id if the creating user
- -creation_ip
(optional)- -context_id
(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