xo::db::CrClass proc get_object_type (public)

 xo::db::CrClass[i] get_object_type -item_id item_id  \
    [ -revision_id revision_id ]

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

Return the object type for an item_id or revision_id.

Switches:
-item_id (required, integer)
-revision_id (optional, integer, defaults to "0")
Returns:
object_type typically an XOTcl class

Testcases:
test_xo_db_object, test_cr_items
[ show source ]
Show another procedure: