You are here

function cc::get_export_file_columns in Constant Contact 7.3

Same name and namespace in other branches
  1. 6.3 class.cc.php \cc::get_export_file_columns()

Returns a list of the columns used in the export file

@access public

1 call to cc::get_export_file_columns()
cc::export_contacts in ./class.cc.php
Creates a new export contacts activity.

File

./class.cc.php, line 1086
Constant Contact PHP Class

Class

cc
@file Constant Contact PHP Class

Code

function get_export_file_columns() {
  $columns = array(
    'FIRST NAME',
    'MIDDLE NAME',
    'LAST NAME',
    'JOB TITLE',
    'COMPANY NAME',
    'WORK PHONE',
    'HOME PHONE',
    'ADDRESS LINE 1',
    'ADDRESS LINE 2',
    'ADDRESS LINE 3',
    'CITY',
    'STATE',
    'STATE/PROVINCE (US/CANADA)',
    'COUNTRY',
    'POSTAL CODE',
    'SUB POSTAL CODE',
  );
  $new = array();
  foreach ($columns as $column) {
    $new[$column] = $column;
  }
  return $new;
}