protected function alpha_pagination_handler_pagination::getCid in Views Alpha Pagination 7
Retrieves a cache identifier for the view, display and query, if set.
Return value
string A cache identifier.
2 calls to alpha_pagination_handler_pagination::getCid()
- alpha_pagination_handler_pagination::getItems in views/
alpha_pagination_handler_pagination.inc - Retrieves the items used to populate the pagination item list.
- alpha_pagination_handler_pagination::options_submit in views/
alpha_pagination_handler_pagination.inc - 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.
File
- views/
alpha_pagination_handler_pagination.inc, line 470 - 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
protected function getCid() {
$this
->ensureQuery();
$query = !empty($this->options['query']) ? md5($this->options['query']) : '';
return "alpha_pagination:{$this->view->name}:{$this->view->current_display}:{$query}";
}