attribute::datatype_validator_exists_p (public)

 attribute::datatype_validator_exists_p datatype

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

Returns 1 if we have a validator for this datatype. 0 otherwise. We currently do not support the "date" datatype and hardcoded support for enumeration. This is hardcoded in this procedure. Also, this procedure assumes that validators are procedures named ::template::data::validate::$datatype

Parameters:
datatype (required)
Author:
Michael Bryzek <mbryzek@arsdigita.com>
Created:
12/2000

Testcases:
acs_subsite_attribute_datatypes
[ show source ]
Show another procedure: