public function destroy() { $oContacts = $this->getContactsBaseRequester()->execute(); foreach ($oContacts as $contact) { $contact->destroy(); } parent::destroy(); }
public function destroy() { # TODO: delete all related resources (principals, calendars, calendar events, contact books and contacts) # Destroying identity principal $this->oIdentityPrincipal->destroy(); $oCalendars = $this->getCalendarsBaseRequester()->execute(); foreach ($oCalendars as $calendar) { $calendar->destroy(); } $oAddressBooks = $this->getAddressBooksBaseRequester()->execute(); foreach ($oAddressBooks as $addressbook) { $addressbook->destroy(); } parent::destroy(); }
public function destroy() { $oEvents = $this->getEventsBaseRequester()->execute(); foreach ($oEvents as $event) { $event->destroy(); } parent::destroy(); }