xo::db::CrFolder proc fetch_object (public)
xo::db::CrFolder fetch_object -item_id item_id \ [ -revision_id revision_id ] -object object \ [ -initialize on|off ]
Defined in /var/www/openacs.org/packages/xotcl-core/tcl/cr-procs.tcl
We overwrite the default fetch_object method here. We join acs_objects, cr_items and cr_folders and fetch all attributes. The revision_id is completely ignored.
- Switches:
- -item_id (required)
- -revision_id (optional, defaults to
"0"
)- -object (required)
- -initialize (optional, boolean, defaults to
"true"
)- See Also:
- CrClass fetch_object
- Testcases:
- No testcase defined.