function views_object::destroy

3.x base.inc views_object::destroy()
2.x base.inc views_object::destroy()
2 methods override views_object::destroy()

File

includes/base.inc, line 114
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);
  }
}