X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2Fexamples%2FContact%2FGetFieldsOptions.php;h=4337b348705ad811d8a7574d3a8484f919f3f3ff;hb=3f1a97cdfa6b826d1ea0bf1dc301259e30cc6264;hp=5605b345f34d31124e32d6a54346fdf0b042be6b;hpb=a1cf9516dd288c65253e2cb0262e59c00a8e0d00;p=civicrm-core.git diff --git a/api/v3/examples/Contact/GetFieldsOptions.php b/api/v3/examples/Contact/GetFieldsOptions.php index 5605b345f3..4337b34870 100644 --- a/api/v3/examples/Contact/GetFieldsOptions.php +++ b/api/v3/examples/Contact/GetFieldsOptions.php @@ -320,6 +320,10 @@ function contact_getfields_expectedresult(){ 'pseudoconstant' => array( 'optionGroupName' => 'individual_prefix', ), + 'api.aliases' => array( + '0' => 'individual_prefix', + '1' => 'individual_prefix_id', + ), ), 'suffix_id' => array( 'name' => 'suffix_id', @@ -333,6 +337,10 @@ function contact_getfields_expectedresult(){ 'pseudoconstant' => array( 'optionGroupName' => 'individual_suffix', ), + 'api.aliases' => array( + '0' => 'individual_suffix', + '1' => 'individual_suffix_id', + ), ), 'email_greeting_id' => array( 'name' => 'email_greeting_id', @@ -552,6 +560,7 @@ function contact_getfields_expectedresult(){ 'groupTitle' => 'select_test_g', 'data_type' => 'String', 'html_type' => 'Select', + 'default_value' => '', 'text_length' => '', 'options_per_line' => '', 'custom_group_id' => '1', @@ -565,6 +574,7 @@ function contact_getfields_expectedresult(){ 'date_format' => '', 'time_format' => '', 'name' => 'custom_1', + 'type' => 2, 'options' => array( '1' => 'Label1', '2' => 'Label2', @@ -573,6 +583,7 @@ function contact_getfields_expectedresult(){ 'current_employer' => array( 'title' => 'Current Employer', 'description' => 'Name of Current Employer', + 'type' => 2, ), 'dupe_check' => array( 'title' => 'Check for Duplicates',