/** * Build and retrieve the list of data types and descriptions * * @param NULL * @return array Data type => Description * @access public * @static */ static function &dataType() { if (!self::$_dataType) { self::$_dataType = array('String' => ts('Alphanumeric'), 'Int' => ts('Integer'), 'Float' => ts('Number'), 'Money' => ts('Money'), 'Memo' => ts('Note'), 'Date' => ts('Date'), 'Boolean' => ts('Yes or No'), 'StateProvince' => ts('State/Province'), 'Country' => ts('Country'), 'File' => ts('File'), 'Link' => ts('Link'), 'ContactReference' => ts('Contact Reference')); } return self::$_dataType; }