You are here

function views_handler_filter_string_compare::options_form in Amazon Product Advertisement API 7.2

Same name and namespace in other branches
  1. 6 includes/views_handler_filter_string_compare.inc \views_handler_filter_string_compare::options_form()
  2. 7 includes/views_handler_filter_string_compare.inc \views_handler_filter_string_compare::options_form()

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

includes/views_handler_filter_string_compare.inc, line 133

Class

views_handler_filter_string_compare
Basic textfield filter to handle string filtering commands including equality, like, not like, etc.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['case'] = array(
    '#type' => 'checkbox',
    '#title' => t('Case sensitive'),
    '#default_value' => $this->options['case'],
    '#description' => t('Case sensitive filters may be faster. MySQL might ignore case sensitivity.'),
  );
}