updated examples
[civicrm-core.git] / api / v3 / examples / Contact / APIChainedArrayMultipleCustom.php
index 4c1b8d26ec4009b52ef96b9db19ea73c08fd0b5f..12f0a14e2abee6bcc2f81285fe488b4a714f77ea 100644 (file)
@@ -55,6 +55,8 @@ function contact_get_expectedresult(){
           'nick_name' => '',
           'legal_name' => '',
           'image_URL' => '',
+          'preferred_communication_method' => '',
+          'preferred_language' => 'en_US',
           'preferred_mail_format' => 'Both',
           'first_name' => 'abc3',
           'middle_name' => '',
@@ -126,17 +128,17 @@ function contact_get_expectedresult(){
                     ),
                   '3' => array(
                       'entity_id' => '1',
-                      'latest' => 'defaultValue',
+                      'latest' => '',
                       'id' => '3',
                       '1' => 'warm beer',
-                      '2' => 'defaultValue',
+                      '2' => '',
                     ),
                   '4' => array(
                       'entity_id' => '1',
-                      'latest' => 'defaultValue',
+                      'latest' => '',
                       'id' => '4',
-                      '1' => 'defaultValue',
-                      '2' => 'defaultValue',
+                      '1' => '',
+                      '2' => '',
                     ),
                   '5' => array(
                       'entity_id' => '1',
@@ -152,9 +154,9 @@ function contact_get_expectedresult(){
                     ),
                   '7' => array(
                       'entity_id' => '1',
-                      'latest' => 'defaultValue',
+                      'latest' => '',
                       'id' => '7',
-                      '1' => 'defaultValue',
+                      '1' => '',
                     ),
                 ),
             ),
@@ -186,4 +188,4 @@ function contact_get_expectedresult(){
 *
 * API Standards documentation:
 * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards
-*/
\ No newline at end of file
+*/