'dataPattern' => '/^\w+(\s\w+)?+$/',
'export' => true,
),
+ 'prefix_id' => array(
+ 'name' => 'prefix_id',
+ 'type' => 1,
+ 'title' => 'Individual Prefix',
+ 'import' => true,
+ 'where' => 'civicrm_contact.prefix_id',
+ 'headerPattern' => '/^(prefix|title)/i',
+ 'dataPattern' => '/^(mr|ms|mrs|sir|dr)\.?$/i',
+ 'export' => true,
+ 'pseudoconstant' => array(
+ 'optionGroupName' => 'individual_prefix',
+ ),
+ ),
+ 'suffix_id' => array(
+ 'name' => 'suffix_id',
+ 'type' => 1,
+ 'title' => 'Individual Suffix',
+ 'import' => true,
+ 'where' => 'civicrm_contact.suffix_id',
+ 'headerPattern' => '/^suffix$/i',
+ 'dataPattern' => '/^(sr|jr)\.?|i{2,}$/',
+ 'export' => true,
+ 'pseudoconstant' => array(
+ 'optionGroupName' => 'individual_suffix',
+ ),
+ ),
'email_greeting_id' => array(
'name' => 'email_greeting_id',
'type' => 1,
'export' => true,
'uniqueName' => 'contact_source',
),
- 'prefix_id' => array(
- 'name' => 'prefix_id',
- 'type' => 1,
- 'title' => 'Individual Prefix',
- 'import' => true,
- 'where' => 'civicrm_contact.prefix_id',
- 'headerPattern' => '/^(prefix|title)/i',
- 'dataPattern' => '/^(mr|ms|mrs|sir|dr)\.?$/i',
- 'export' => true,
- 'pseudoconstant' => array(
- 'optionGroupName' => 'individual_prefix',
- ),
- 'uniqueName' => 'individual_prefix_id',
- ),
- 'suffix_id' => array(
- 'name' => 'suffix_id',
- 'type' => 1,
- 'title' => 'Individual Suffix',
- 'import' => true,
- 'where' => 'civicrm_contact.suffix_id',
- 'headerPattern' => '/^suffix$/i',
- 'dataPattern' => '/^(sr|jr)\.?|i{2,}$/',
- 'export' => true,
- 'pseudoconstant' => array(
- 'optionGroupName' => 'individual_suffix',
- ),
- 'uniqueName' => 'individual_suffix_id',
- ),
'employer_id' => array(
'name' => 'employer_id',
'type' => 1,