package_attribute_default (private)

 package_attribute_default [ -min_n_values min_n_values ] \
    [ -attr_default attr_default ] object_type table column

Defined in packages/acs-subsite/tcl/package-procs.tcl

Returns a sql value to be used as the default in a pl/sql function or procedure parameter list. This is a special case, hardcoded function that specifies defaults for standard acs_object attributes.

Switches:
-min_n_values (optional, defaults to "0")
Used to determine if an argument is required (e.g. required = min_n_values != 0)
-attr_default (optional)
The default values for this attribute as specified in the attributes table.
Parameters:
object_type (required)
The object type that owns the attribute we are using. Used only to set a default for acs_object.object_type stored (either table_name from the attribute or for the object_type)
table (required)
The table in which the value of this attribute is stored (either table_name from the attribute or for the object_type)
column (required)
The column in which the value of this attribute is stored (either column_name or attribute_name from the attributes table)
Author:
Michael Bryzek <mbryzek@arsdigita.com>
Created:
12/28/2000

Partial Call Graph (max 5 caller/called nodes):
%3 package_create_attribute_list package_create_attribute_list (private) package_attribute_default package_attribute_default package_create_attribute_list->package_attribute_default db_map db_map (public) package_attribute_default->db_map ns_dbquotevalue ns_dbquotevalue package_attribute_default->ns_dbquotevalue

Testcases:
No testcase defined.
[ show source ]
Show another procedure: