Exemplo n.º 1
0
 public function save(Default_Model_Contact $contact)
 {
     $this->_data = array('address_book_id' => $contact->getAddressBookId(), 'first_name' => $contact->getFirstName(), 'last_name' => $contact->getLastName(), 'address_1' => $contact->getAddress1(), 'address_2' => $contact->getAddress2(), 'town' => $contact->getTown(), 'county' => $contact->getCounty(), 'country' => $contact->getCountry(), 'post_code' => $contact->getPostCode(), 'home_tel' => $contact->getHomeTel(), 'work_tel' => $contact->getWorkTel(), 'mobile_tel' => $contact->getMobileTel(), 'fax' => $contact->getFax(), 'email' => $contact->getEmail());
     parent::save($contact);
 }