acs_object_type (public)

 acs_object_type object_id

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

Returns the type of an object.

Parameters:
object_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_attachments_name_api attachments_name_api (test attachments) acs_object_type acs_object_type test_attachments_name_api->acs_object_type test_data_links_with_tag data_links_with_tag (test acs-tcl) test_data_links_with_tag->acs_object_type db_string db_string (public) acs_object_type->db_string acs_object::is_type_p acs_object::is_type_p (private) acs_object::is_type_p->acs_object_type ad_call_method ad_call_method (public, deprecated) ad_call_method->acs_object_type attachments::get_title attachments::get_title (public) attachments::get_title->acs_object_type auth::validate_account_info auth::validate_account_info (private) auth::validate_account_info->acs_object_type etp::revision_datasource etp::revision_datasource (public) etp::revision_datasource->acs_object_type

Testcases:
data_links_with_tag, attachments_name_api
Source code:
    return [db_string object_type_select {
        select object_type
        from acs_objects
        where object_id = :object_id
    } -default ""]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
<fullquery name="acs_object_type.object_type_select">
    <querytext>

        select object_type
        from acs_objects
        where object_id = :object_id

      </querytext>
</fullquery>
packages/acs-tcl/tcl/object-procs.xql

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