Ejemplo n.º 1
0
 public function destroy()
 {
     parent::destroy();
     if (isset($this->view->rowPlugin)) {
         $this->view->rowPlugin->destroy();
     }
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function destroy()
 {
     parent::destroy();
     foreach ($this->handlers as $type => $handlers) {
         foreach ($handlers as $id => $handler) {
             if (is_object($handler)) {
                 $this->handlers[$type][$id]->destroy();
             }
         }
     }
     if (isset($this->default_display)) {
         unset($this->default_display);
     }
     foreach ($this->extenders as $extender) {
         $extender->destroy();
     }
 }