destroy() public method

public destroy ( )
Beispiel #1
0
 public function destroy()
 {
     $oContacts = $this->getContactsBaseRequester()->execute();
     foreach ($oContacts as $contact) {
         $contact->destroy();
     }
     parent::destroy();
 }
Beispiel #2
0
 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();
 }
Beispiel #3
0
 public function destroy()
 {
     $oEvents = $this->getEventsBaseRequester()->execute();
     foreach ($oEvents as $event) {
         $event->destroy();
     }
     parent::destroy();
 }