@@ 407-417 (lines=11) @@ | ||
404 | // add attendee columns |
|
405 | foreach ($att_fields_to_include as $att_field_name) { |
|
406 | $field_obj = \EEM_Attendee::instance()->field_settings_for($att_field_name); |
|
407 | if ($reg_row['Attendee_CPT.ID']) { |
|
408 | if ($att_field_name == 'STA_ID') { |
|
409 | $value = \EEM_State::instance()->get_var( |
|
410 | array(array('STA_ID' => $reg_row['Attendee_Meta.STA_ID'])), |
|
411 | 'STA_name' |
|
412 | ); |
|
413 | } elseif ($att_field_name == 'CNT_ISO') { |
|
414 | $value = \EEM_Country::instance()->get_var( |
|
415 | array(array('CNT_ISO' => $reg_row['Attendee_Meta.CNT_ISO'])), |
|
416 | 'CNT_name' |
|
417 | ); |
|
418 | } else { |
|
419 | $value = \EEH_Export::prepare_value_from_db_for_display( |
|
420 | \EEM_Attendee::instance(), |
@@ 571-581 (lines=11) @@ | ||
568 | // add attendee columns |
|
569 | foreach ($att_fields_to_include as $att_field_name) { |
|
570 | $field_obj = EEM_Attendee::instance()->field_settings_for($att_field_name); |
|
571 | if ($reg_row['Attendee_CPT.ID']) { |
|
572 | if ($att_field_name == 'STA_ID') { |
|
573 | $value = EEM_State::instance()->get_var( |
|
574 | array(array('STA_ID' => $reg_row['Attendee_Meta.STA_ID'])), |
|
575 | 'STA_name' |
|
576 | ); |
|
577 | } elseif ($att_field_name == 'CNT_ISO') { |
|
578 | $value = EEM_Country::instance()->get_var( |
|
579 | array(array('CNT_ISO' => $reg_row['Attendee_Meta.CNT_ISO'])), |
|
580 | 'CNT_name' |
|
581 | ); |
|
582 | } else { |
|
583 | $value = $this->_prepare_value_from_db_for_display( |
|
584 | EEM_Attendee::instance(), |