summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Seidl2011-09-26 18:32:58 (GMT)
committer Thomas Seidl2011-09-26 18:32:58 (GMT)
commit95efa9937d4d0150c627897a3b9ffbeee2df0426 (patch)
tree5a4f12670cf757bcdb8742d9953564ffd7fbea6d
parent5336e6947480ef4a76f7f57a2a96ae59a7fe783c (diff)
Coding standards clean-up.
-rw-r--r--contrib/search_api_facetapi/plugins/facetapi/adapter.inc2
-rw-r--r--contrib/search_api_views/includes/handler_filter_language.inc2
-rw-r--r--contrib/search_api_views/includes/handler_filter_options.inc2
-rw-r--r--includes/processor_tokenizer.inc2
4 files changed, 4 insertions, 4 deletions
diff --git a/contrib/search_api_facetapi/plugins/facetapi/adapter.inc b/contrib/search_api_facetapi/plugins/facetapi/adapter.inc
index a9026ba..09fb1b4 100644
--- a/contrib/search_api_facetapi/plugins/facetapi/adapter.inc
+++ b/contrib/search_api_facetapi/plugins/facetapi/adapter.inc
@@ -51,7 +51,7 @@ class SearchApiFacetapiAdapter extends FacetapiAdapter {
* @param mixed $query
* The backend's native object.
*/
- function initActiveFilters($query) {
+ public function initActiveFilters($query) {
$search_id = $query->getOption('search id');
$index_id = $this->info['instance'];
$facets = facetapi_get_enabled_facets($this->info['name']);
diff --git a/contrib/search_api_views/includes/handler_filter_language.inc b/contrib/search_api_views/includes/handler_filter_language.inc
index 30463cd..f95ddaf 100644
--- a/contrib/search_api_views/includes/handler_filter_language.inc
+++ b/contrib/search_api_views/includes/handler_filter_language.inc
@@ -27,7 +27,7 @@ class SearchApiViewsHandlerFilterLanguage extends SearchApiViewsHandlerFilterOpt
/**
* Provides a summary of this filter's value for the admin UI.
*/
- function admin_summary() {
+ public function admin_summary() {
$tmp = $this->definition['options'];
$this->definition['options']['current'] = t('current');
$this->definition['options']['default'] = t('default');
diff --git a/contrib/search_api_views/includes/handler_filter_options.inc b/contrib/search_api_views/includes/handler_filter_options.inc
index 8dc9a2c..686273c 100644
--- a/contrib/search_api_views/includes/handler_filter_options.inc
+++ b/contrib/search_api_views/includes/handler_filter_options.inc
@@ -104,7 +104,7 @@ class SearchApiViewsHandlerFilterOptions extends SearchApiViewsHandlerFilter {
/**
* Provides a summary of this filter's value for the admin UI.
*/
- function admin_summary() {
+ public function admin_summary() {
if (!empty($this->options['exposed'])) {
return t('exposed');
}
diff --git a/includes/processor_tokenizer.inc b/includes/processor_tokenizer.inc
index 33b706b..d3e3574 100644
--- a/includes/processor_tokenizer.inc
+++ b/includes/processor_tokenizer.inc
@@ -44,7 +44,7 @@ class SearchApiTokenizer extends SearchApiAbstractProcessor {
return $form;
}
- function configurationFormValidate(array $form, array &$values, array &$form_state) {
+ public function configurationFormValidate(array $form, array &$values, array &$form_state) {
$spaces = str_replace('/', '\/', $values['spaces']);
$ignorable = str_replace('/', '\/', $values['ignorable']);
if (@preg_match('/(' . $spaces . ')+/u', '') === FALSE) {