function views_handler_filter::options_form

cis7 views_handler_filter.inc views_handler_filter::options_form(&$form, &$form_state)
cle7 views_handler_filter.inc views_handler_filter::options_form(&$form, &$form_state)
elmsmedia7 views_handler_filter.inc views_handler_filter::options_form(&$form, &$form_state)
icor7 views_handler_filter.inc views_handler_filter::options_form(&$form, &$form_state)
meedjum_blog7 views_handler_filter.inc views_handler_filter::options_form(&$form, &$form_state)
mooc7 views_handler_filter.inc views_handler_filter::options_form(&$form, &$form_state)

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::options_form

4 methods override views_handler_filter::options_form()
link_views_handler_filter_protocol::options_form in sites/all/modules/ulmus/link/views/link_views_handler_filter_protocol.inc
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.
views_handler_filter_broken::options_form in sites/all/modules/ulmus/views/handlers/views_handler_filter.inc
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.
views_handler_filter_combine::options_form in sites/all/modules/ulmus/views/handlers/views_handler_filter_combine.inc
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.
views_handler_filter_search::options_form in sites/all/modules/ulmus/views/modules/search/views_handler_filter_search.inc
Overrides views_handler_filter::options_form().

File

sites/all/modules/ulmus/views/handlers/views_handler_filter.inc, line 190
@todo.

Class

views_handler_filter
Base class for filters.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  if ($this->can_expose()) {
    $this->show_expose_button($form, $form_state);
  }
  if ($this->can_build_group()) {
    $this->show_build_group_button($form, $form_state);
  }
  $form['clear_markup_start'] = array(
    '#markup' => '<div class="clearfix">',
  );
  if ($this->is_a_group()) {
    if ($this->can_build_group()) {
      $form['clear_markup_start'] = array(
        '#markup' => '<div class="clearfix">',
      );
      // Render the build group form.
      $this->show_build_group_form($form, $form_state);
      $form['clear_markup_end'] = array(
        '#markup' => '</div>',
      );
    }
  }
  else {
    // Add the subform from operator_form().
    $this->show_operator_form($form, $form_state);
    // Add the subform from value_form().
    $this->show_value_form($form, $form_state);
    $form['clear_markup_end'] = array(
      '#markup' => '</div>',
    );
    if ($this->can_expose()) {
      // Add the subform from expose_form().
      $this->show_expose_form($form, $form_state);
    }
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.