You are here

public static function CRM_Utils_Type::dataTypes in CiviCRM Entity 8.3

Get list of avaliable Data Tupes for Option Groups

Return value

array

File

tests/src/Type.php, line 532

Class

CRM_Utils_Type
@package CRM @copyright CiviCRM LLC (c) 2004-2017

Code

public static function dataTypes() {
  $types = array(
    'Integer',
    'String',
    'Date',
    'Time',
    'Timestamp',
    'Money',
    'Email',
  );
  return array_combine($types, $types);
}