acs_object_type::get (public)

 acs_object_type::get -object_type object_type -array array

Defined in packages/acs-tcl/tcl/object-type-procs.tcl

Get info about an object type. Returns columns

  • object_type,
  • supertype,
  • abstract_p,
  • pretty_name,
  • pretty_plural,
  • table_name,
  • id_column,
  • package_name,
  • name_method,
  • type_extension_table,
  • dynamic_p

Switches:
-object_type (required)
-array (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_subsite_group_type acs_subsite_group_type (test acs-subsite) acs_object_type::get acs_object_type::get test_acs_subsite_group_type->acs_object_type::get acs_object_type::supertype acs_object_type::supertype (private) acs_object_type::get->acs_object_type::supertype db_1row db_1row (public) acs_object_type::get->db_1row content::item::get content::item::get (public) content::item::get->acs_object_type::get package_create package_create (private) package_create->acs_object_type::get package_create_attribute_list package_create_attribute_list (private) package_create_attribute_list->acs_object_type::get package_generate_body package_generate_body (private) package_generate_body->acs_object_type::get package_generate_spec package_generate_spec (private) package_generate_spec->acs_object_type::get

Testcases:
acs_subsite_group_type
Source code:
    upvar 1 $array row
    db_1row select_object_type_info {
        select object_type,
               supertype,
               abstract_p,
               pretty_name,
               pretty_plural,
               table_name,
               id_column,
               package_name,
               name_method,
               type_extension_table,
               dynamic_p
        from   acs_object_types
        where  object_type = :object_type
    } -column_array row
XQL Not present:
Generic
PostgreSQL XQL file:
packages/acs-tcl/tcl/object-type-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/object-type-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: