public function apachesolr_views_query::alter in Apache Solr Views 6
Same name and namespace in other branches
- 7 apachesolr_views_query.inc \apachesolr_views_query::alter()
Let modules modify the query just prior to finalizing it.
Overrides views_plugin_query::alter
File
- ./
apachesolr_views_query.inc, line 292
Class
- apachesolr_views_query
- Class for handling a view that gets its data not from the database, but from a Solr server.
Code
public function alter(&$view) {
foreach (module_implements('apachesolr_modify_query') as $module) {
$function = $module . '_apachesolr_modify_query';
$function($this, $this->_params, 'apachesolr_views_query');
}
}