function _linkedin_list_fields in LinkedIn Integration 7
Same name and namespace in other branches
- 6 linkedin.inc \_linkedin_list_fields()
2 calls to _linkedin_list_fields()
- linkedin_profile_linkedin_admin_page in linkedin_profile/
linkedin_profile.pages.inc - @todo Please document this function.
- _linkedin_build_fields_request in ./
linkedin.inc
File
- ./
linkedin.inc, line 491
Code
function _linkedin_list_fields($type = 'auth') {
$fields = array(
'id',
'first-name',
'last-name',
'headline',
'location',
'industry',
'summary',
'specialties',
'honors',
'interests',
'num-recommenders',
'member-url-resources',
'picture-url',
'public-profile-url',
'positions',
'educations',
);
if ($type == 'auth') {
$standard_fields = array(
'distance',
'current-status',
'current-status-timestamp',
'num-connections',
'num-connections-capped',
'associations',
'phone-numbers',
'im-accounts',
'twitter-accounts',
'date-of-birth',
'main-address',
);
$fields = array_merge($fields, $standard_fields);
}
return $fields;
}