xo::db::Class instproc object_types (public)
<instance of xo::db::Class> 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