function cc::get_export_file_columns in Constant Contact 6.3
Same name and namespace in other branches
- 7.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 - * This method creates a new export contacts activity * It returns the activity ID to use to check the status * * *
File
- ./
class.cc.php, line 1087
Class
- cc
- @file
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;
}