You are here

function alpha_pagination_handler_pagination::options_submit in Views Alpha Pagination 7

We need to clear our cache when changing options or things go badly. It does not pick up on the items with the modified terms because it uses cached items until a cache-clear is performed. This eliminates that step.

Overrides views_handler::options_submit

File

views/alpha_pagination_handler_pagination.inc, line 107
Definition of alpha_pagination_handler_pagination.

Class

alpha_pagination_handler_pagination
Views area handler to display an alphabetic pagination representive of the entire result set for this view and not just the limited number being displayed by the view's configuration

Code

function options_submit(&$form, &$form_state) {
  cache_clear_all($this
    ->getCid(), 'cache', TRUE);
}