예제 #1
0
 protected function beforeDelete()
 {
     $disabled = new PageComponentsDisabledEntityRepository();
     $disabled->setWherePageId($this->getId());
     $disabled->deleteObjectCollection();
     $history = new PageComponentHistoryRepository();
     $history->setWherePageId($this->getId());
     $history->deleteObjectCollection();
     $components = new PageComponentRepository();
     $components->setWherePageId($this->getId());
     $components->deleteObjectCollection();
     $clickmap = new PageClickmapRepository();
     $clickmap->setWherePageId($this->getId());
     $clickmap->deleteObjectCollection();
     parent::beforeDelete();
 }