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
Author:
Michael Bryzek <mbryzek@arsdigita.com>
Created:
12/2000

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_subsite_attribute_datatypes acs_subsite_attribute_datatypes (test acs-subsite) attribute::datatype_validator_exists_p attribute::datatype_validator_exists_p test_acs_subsite_attribute_datatypes->attribute::datatype_validator_exists_p attribute::translate_datatype attribute::translate_datatype (public) attribute::translate_datatype->attribute::datatype_validator_exists_p packages/acs-subsite/www/admin/attributes/add.tcl packages/acs-subsite/ www/admin/attributes/add.tcl packages/acs-subsite/www/admin/attributes/add.tcl->attribute::datatype_validator_exists_p

Testcases:
acs_subsite_attribute_datatypes
[ show source ]
Show another procedure: