18 public $fieldBackups = array();
26 if (isset($contact)) {
27 $this->anonymous = $contact->anonymous;
28 $this->email = $contact->email;
29 $this->external_id = $contact->external_id;
30 $this->
id = $contact->id;
31 $this->created = $contact->created;
32 $this->updated = $contact->updated;
33 $this->standard_fields = $contact->standard_fields;
34 $this->custom_fields = $contact->custom_fields;
46 parent::fromXML($xmlElement);
49 if (isset($xmlElement->field_backups)) $this->fieldBackups = com_maileon_api_xml_XMLDeserializer::deserialize($xmlElement->field_backups);