xo::db::CrItem instproc update_attribute_from_slot (public)

 <instance of xo::db::CrItem[i]> update_attribute_from_slot \
    [ -revision_id revision_id ] slot value

Defined in /var/www/openacs/packages/xotcl-core/tcl/cr-procs.tcl

Update the in-memory attribute and persist the value in the slot's column for the specified revision.

Switches:
-revision_id (optional)
Revision to update, defaulting to this item's revision.
Parameters:
slot (required, object)
Attribute slot describing the target table and column.
value (required)
Attribute value to store.

Testcases:
slot_interactions
[ show source ]
Show another procedure: