attribute::add (public)
attribute::add [ -default default ] [ -min_n_values min_n_values ] \ [ -max_n_values max_n_values ] object_type datatype pretty_name \ pretty_plural
Defined in packages/acs-subsite/tcl/attribute-procs.tcl
wrapper for the
acs_attribute.create_attribute
call. Note that this procedure assumes type-specific storage.
- Switches:
- -default
(optional)- -min_n_values
(optional)- -max_n_values
(optional)- Parameters:
- object_type
datatype
pretty_name
pretty_plural
- Returns:
- The
attribute_id
of the newly created attribute- Author:
- Michael Bryzek <mbryzek@arsdigita.com>
- Created:
- 12/2000
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_subsite_attributes