public deleteAllRelations ( $entity ) | ||
$entity |
public function deleteAllRelations($entity)
{
$this->deleteNotes($entity);
$this->deleteAddresses($entity);
$this->deleteEmails($entity);
$this->deleteFaxes($entity);
$this->deletePhones($entity);
$this->deleteUrls($entity);
}
/** * {@inheritDoc} */ public function deleteAllRelations($entity) { parent::deleteAllRelations($entity); // add bank-accounts for accounts $this->deleteBankAccounts($entity); }