Exemple #1
0
 private function extractPerson(Person $item, array &$data)
 {
     $data['type'] = 'person';
     $data['gender'] = $item->getGender();
     $data['first_name'] = $item->getFirstName();
     $data['phonetic_first_name'] = $item->getPhoneticFirstName();
     $data['middle_name'] = $item->getMiddleName();
     $data['phonetic_middle_name'] = $item->getPhoneticMiddleName();
     $data['last_name'] = $item->getLastName();
     $data['phonetic_last_name'] = $item->getPhoneticLastName();
     $data['maiden_name'] = $item->getMaidenName();
     $data['suffix'] = $item->getSuffix();
     $data['nickname'] = $item->getNickname();
     $data['job_title'] = $item->getJobTitle();
     $data['department'] = $item->getDepartment();
     $data['company'] = $item->getCompany();
 }