| Conditions | 1 |
| Paths | 1 |
| Total Lines | 28 |
| Code Lines | 24 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 38 | public function save(array $fieldNames = []) |
||
| 39 | { |
||
| 40 | $fieldNames = array_intersect($fieldNames, [ |
||
| 41 | 'name', |
||
| 42 | 'last_name', |
||
| 43 | 'first_name', |
||
| 44 | 'contact_id', |
||
| 45 | 'email', |
||
| 46 | 'phone', |
||
| 47 | 'mobile', |
||
| 48 | 'twitter', |
||
| 49 | 'skype', |
||
| 50 | 'facebook', |
||
| 51 | 'linkedin', |
||
| 52 | 'address', |
||
| 53 | 'city', |
||
| 54 | 'country', |
||
| 55 | 'title', |
||
| 56 | 'description', |
||
| 57 | 'industry', |
||
| 58 | 'website', |
||
| 59 | 'fax', |
||
| 60 | 'tag_list', |
||
| 61 | 'private', |
||
| 62 | ]); |
||
| 63 | |||
| 64 | return parent::save($fieldNames); |
||
| 65 | } |
||
| 66 | } |
||
| 67 |