1 base.inc views_object::destroy()

File

core/modules/views/includes/base.inc, line 141
Provides the basic object definitions used by plugins and handlers.

Class

views_object
Basic definition for many views objects.

Code

function destroy() {
  if (isset($this->view)) {
    unset($this->view);
  }

  if (isset($this->display)) {
    unset($this->display);
  }

  if (isset($this->query)) {
    unset($this->query);
  }
}