/**
  * Check if an address is deleted.
  *
  * @param int $id Id
  * @param DataHandler $parentObject Parent object
  *
  * @return bool|string
  */
 protected function checkAddressDelete($id, DataHandler $parentObject)
 {
     return \CommerceTeam\Commerce\Dao\AddressObserver::checkDelete($id, $parentObject);
 }
Beispiel #2
0
 /**
  * This function is called by the Hook in
  * \CommerceTeam\Commerce\Controller\AddressesController before processing
  * update address operations.
  *
  * @param int $uid Uid
  *
  * @return void
  */
 public function afterAddressEdit($uid)
 {
     // notify address observer
     \CommerceTeam\Commerce\Dao\AddressObserver::update('update', $uid);
 }