Exemple #1
0
 /** {@inheritdoc} */
 public function create(DetachedResource $resource, array $fieldNames = [], $useKey = true)
 {
     $fieldNames = array_intersect($fieldNames, ['name', 'last_name', 'first_name', 'is_organisation', 'contact_id', 'email', 'phone', 'mobile', 'twitter', 'skype', 'facebook', 'linkedin', 'address', 'city', 'country', 'title', 'description', 'industry', 'website', 'fax', 'tag_list', 'private']);
     return parent::create($resource, $fieldNames, $useKey);
 }
Exemple #2
0
 /** {@inheritdoc} */
 public function create(DetachedResource $resource, array $fieldNames = [], $useKey = true)
 {
     $fieldNames = array_intersect($fieldNames, ['last_name', 'company_name', 'first_name', 'email', 'phone', 'mobile', 'twitter', 'skype', 'facebook', 'linkedin', 'street', 'zip', 'region', 'city', 'city', 'country', 'title', 'description']);
     return parent::create($resource, $fieldNames, $useKey);
 }
Exemple #3
0
 /** {@inheritdoc} */
 public function create(DetachedResource $resource, array $fieldNames = [], $useKey = true)
 {
     $fieldNames = array_intersect($fieldNames, ['name', 'entity_id', 'scope', 'hot', 'deal_tags', 'contact_ids', 'source_id', 'stage']);
     return parent::create($resource, $fieldNames, $useKey);
 }