xo::db::Class instproc object_types (public)

 <instance of xo::db::Class[i]> object_types \
    [ -subtypes_first on|off ]

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

Return the type and subtypes of the class, on which the method is called. If subtypes_first is specified, the subtypes are returned first.

Switches:
-subtypes_first (optional, boolean, defaults to "false")
Returns:
list of object_types

Testcases:
xotcl_core_tutorial_2, xotcl_core_tutorial_4
Source code:
return [::xo::dc list get_object_types  [:object_types_query -subtypes_first $subtypes_first]]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: