function PartyB2BOrganizationProfile2Migration::csvcolumns in Party 7
Same name and namespace in other branches
- 8.2 starterkits/party_starterkit_b2b/party_starterkit_b2b_migrate/party_starterkit_b2b_migrate_organizations.inc \PartyB2BOrganizationProfile2Migration::csvcolumns()
Define columns in csv file
Return value
multitype:string multitype:string
1 call to PartyB2BOrganizationProfile2Migration::csvcolumns()
- PartyB2BOrganizationProfile2Migration::__construct in starterkits/
party_starterkit_b2b/ party_starterkit_b2b_migrate/ party_starterkit_b2b_migrate_organizations.inc - Set up the migration.
File
- starterkits/
party_starterkit_b2b/ party_starterkit_b2b_migrate/ party_starterkit_b2b_migrate_organizations.inc, line 85 - Support for migrate module
Class
Code
function csvcolumns() {
$columns[0] = array(
'org_id',
'Organization ID',
);
$columns[1] = array(
'org_name',
'Organization Name',
);
$columns[2] = array(
'org_web',
'Organization Web Address',
);
$columns[3] = array(
'org_email',
'Organization Email',
);
$columns[4] = array(
'org_address1',
'Organization Address 1',
);
$columns[5] = array(
'org_address2',
'Organization Address 2',
);
$columns[6] = array(
'org_city',
'Organization City',
);
$columns[7] = array(
'org_state',
'Organization State',
);
$columns[8] = array(
'org_zip',
'Organization Zip',
);
$columns[9] = array(
'org_country',
'Organization Country',
);
$columns[10] = array(
'org_phone',
'Organization Phone',
);
return $columns;
}