xo::db::CrClass proc get_object_type (public)
xo::db::CrClass get_object_type [ -item_id item_id ] \ [ -revision_id revision_id ]
Defined in packages/xotcl-core/tcl/cr-procs.tcl
Return the object type for an item_id or revision_id.
- Switches:
- -item_id
(optional)- -revision_id
(defaults to"0"
) (optional)- Returns:
- object_type typically an XOTcl class
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- test_xo_db_object, test_cr_items