- Publicity: Public Only All
object-type-procs.tcl
Supporting procs for ACS Object Types
- Location:
- packages/acs-tcl/tcl/object-type-procs.tcl
- Created:
- August 13, 2000
- Author:
- Yonatan Feldman <yon@arsdigita.com>
- CVS Identification:
$Id: object-type-procs.tcl,v 1.17 2024/09/11 06:15:48 gustafn Exp $
Procedures in this file
- acs_object_type::get (public)
- acs_object_type::get_table_name (public)
- acs_object_type_hierarchy (public)
Detailed information
acs_object_type::get (public)
acs_object_type::get -object_type object_type -array array
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):
- Testcases:
- acs_subsite_group_type
acs_object_type::get_table_name (public)
acs_object_type::get_table_name -object_type object_type
Return the table name associated with an object_type. Allow caching of the table_name as it is unlikely to change without a restart of the server (which is mandatory after an upgrade)
- Switches:
- -object_type (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- object_type_table_name
acs_object_type_hierarchy (public)
acs_object_type_hierarchy [ -object_type object_type ] \ [ -indent_string indent_string ] [ -indent_width indent_width ] \ [ -join_string join_string ] [ -additional_html additional_html ]
Returns an HTML snippet representing a hierarchy of ACS Object Types
- Switches:
- -object_type (optional)
- the object type for which to show a hierarchy for.
- -indent_string (optional, defaults to
" "
)- string with which to lpad
- -indent_width (optional, defaults to
"4"
)- number of times to insert
indent_string
into indentation- -join_string (optional, defaults to
"<br>"
)- string with which to join each row returned by the query
- -additional_html (optional)
- any additional html you might want to print per line
- Author:
- Yonatan Feldman <yon@arsdigita.com>
- Created:
- August 13, 2000
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- object_type_hierarchy