package_create_attribute_list (private)
package_create_attribute_list [ -supertype supertype ] \ [ -object_name object_name ] [ -limit_to limit_to ] \ [ -table table ] [ -column column ] [ -column_value column_value ] \ object_type
Defined in packages/acs-subsite/tcl/package-procs.tcl
Generates the list of attributes for this object type. Each element in the list is (table_name, column_name, default_value, column_value) where
default_value
andcolumn_value
are optional. Note that if either of table_name, id_column is unspecified, we retrieve the values for both from the acs_object_types table
- Switches:
- -supertype (optional)
- The supertype of the object we are creating. If specified, along with object_name, we lookup the parameters to supertype.object_name and include any missing parameters in our argument list.
- -object_name (optional)
- The name of the function / procedure we are creating. See supertype for explanation.
- -limit_to (optional)
- If empty, this argument is ignored. Otherwise, it is a list of all the columns to be included in the attribute list. Any attribute whose column_name is not in this list is then ignored.
- -table (optional)
- The
table_name
for this object_type (from theacs_object_types
tables)- -column (optional)
- The
id_column
for this object_type (from theacs_object_types
tables)- -column_value (optional)
- The value for this column in the present calling function. Useful when you are calling supertype function and need to refer to the supertype argument by a different name locally.
- Parameters:
- object_type (required)
- The object type for which we are generating attributes
- Author:
- Michael Bryzek <mbryzek@arsdigita.com>
- Created:
- 12/2000
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.