function views_object::set_default_options

cis7 base.inc views_object::set_default_options()
cle7 base.inc views_object::set_default_options()
elmsmedia7 base.inc views_object::set_default_options()
icor7 base.inc views_object::set_default_options()
meedjum_blog7 base.inc views_object::set_default_options()
mooc7 base.inc views_object::set_default_options()

Set default options. For backward compatibility, it sends the options array; this is a feature that will likely disappear at some point.

1 call to views_object::set_default_options()
views_object::construct in sites/all/modules/ulmus/views/includes/base.inc
Views handlers use a special construct function so that we can more easily construct them with variable arguments.

File

sites/all/modules/ulmus/views/includes/base.inc, line 76
Provides the basic object definitions used by plugins and handlers.

Class

views_object
Basic definition for many views objects.

Code

function set_default_options() {
  $this->_set_option_defaults($this->options, $this->option_definition());

  // Retained for complex defaults plus backward compatibility.
  $this->options($this->options);
}