You are here

function views_handler_filter_numeric::options_form in Views (for Drupal 7) 6.3

Provide the basic form which calls through to subforms. If overridden, it is best to call through to the parent, or to at least make sure all of the functions in this form are called.

Overrides views_handler_filter::options_form

File

handlers/views_handler_filter_numeric.inc, line 122

Class

views_handler_filter_numeric
Simple filter to handle greater than/less than filters

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['allow_null'] = array(
    '#type' => 'checkbox',
    '#title' => t('Include NULL rows'),
    '#default_value' => $this->options['allow_null'],
    '#description' => t('Treats NULL as zero (0).'),
  );
}