상속: extends Flake\Core\Model
예제 #1
0
 public function destroy()
 {
     $oContacts = $this->getContactsBaseRequester()->execute();
     foreach ($oContacts as $contact) {
         $contact->destroy();
     }
     parent::destroy();
 }
예제 #2
0
파일: User.php 프로젝트: Zyko0/Baikal
 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();
 }
예제 #3
0
 public function destroy()
 {
     $oEvents = $this->getEventsBaseRequester()->execute();
     foreach ($oEvents as $event) {
         $event->destroy();
     }
     parent::destroy();
 }