Use this method to determine if a particular string is a valid data-type for AttributeType records. (Here, data-type is a synonym for the attr_type field of AttributeType records.)
PARAMETERS
Param 1: data_type -- (string) the string that you wish to check.
RETURN VALUE / EXCEPTIONS
This method returns the integer 1 if the given string IS a valid data-type for AttributeType records.
If it is not a valid data-type, a TypeError exception will be raised.
| Name | Type | Description |
|---|---|---|
| skey | string | |
| data_type | string |
The checkAttributeDataType method returns an integer.
© Copyright 1997-2007 Journyx