aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2012-11-09 16:22:32 +0530
committerDhruv <dhruv.goel92@gmail.com>2012-11-09 16:46:44 +0100
commita509a8ed2d921d4797e08531e70ba70afb167d9d (patch)
treed21ddde0612ff227f2f2ca96b507844deebd2f9a /phpBB/includes/search
parentc5c9bc5ada9bcfdc0a1502b2b64d3fa394f37814 (diff)
downloadforums-a509a8ed2d921d4797e08531e70ba70afb167d9d.tar
forums-a509a8ed2d921d4797e08531e70ba70afb167d9d.tar.gz
forums-a509a8ed2d921d4797e08531e70ba70afb167d9d.tar.bz2
forums-a509a8ed2d921d4797e08531e70ba70afb167d9d.tar.xz
forums-a509a8ed2d921d4797e08531e70ba70afb167d9d.zip
[ticket/11050] make all properties protected in all search backends
PHPBB-11050
Diffstat (limited to 'phpBB/includes/search')
-rw-r--r--phpBB/includes/search/fulltext_mysql.php6
-rw-r--r--phpBB/includes/search/fulltext_native.php6
-rw-r--r--phpBB/includes/search/fulltext_postgres.php6
-rw-r--r--phpBB/includes/search/fulltext_sphinx.php2
4 files changed, 10 insertions, 10 deletions
diff --git a/phpBB/includes/search/fulltext_mysql.php b/phpBB/includes/search/fulltext_mysql.php
index 2084864e4d..700b8695dc 100644
--- a/phpBB/includes/search/fulltext_mysql.php
+++ b/phpBB/includes/search/fulltext_mysql.php
@@ -56,21 +56,21 @@ class phpbb_search_fulltext_mysql extends phpbb_search_base
* Associative array stores the min and max word length to be searched
* @var array
*/
- public $word_length = array();
+ protected $word_length = array();
/**
* Contains tidied search query.
* Operators are prefixed in search query and common words excluded
* @var string
*/
- public $search_query;
+ protected $search_query;
/**
* Contains common words.
* Common words are words with length less/more than min/max length
* @var array
*/
- public $common_words = array();
+ protected $common_words = array();
/**
* Constructor
diff --git a/phpBB/includes/search/fulltext_native.php b/phpBB/includes/search/fulltext_native.php
index 14d4c60134..e25b1fe11d 100644
--- a/phpBB/includes/search/fulltext_native.php
+++ b/phpBB/includes/search/fulltext_native.php
@@ -32,21 +32,21 @@ class phpbb_search_fulltext_native extends phpbb_search_base
* Associative array stores the min and max word length to be searched
* @var array
*/
- public $word_length = array();
+ protected $word_length = array();
/**
* Contains tidied search query.
* Operators are prefixed in search query and common words excluded
* @var string
*/
- public $search_query;
+ protected $search_query;
/**
* Contains common words.
* Common words are words with length less/more than min/max length
* @var array
*/
- public $common_words = array();
+ protected $common_words = array();
/**
* Post ids of posts containing words that are to be included
diff --git a/phpBB/includes/search/fulltext_postgres.php b/phpBB/includes/search/fulltext_postgres.php
index 98bf010c93..12a1203249 100644
--- a/phpBB/includes/search/fulltext_postgres.php
+++ b/phpBB/includes/search/fulltext_postgres.php
@@ -82,20 +82,20 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
* Operators are prefixed in search query and common words excluded
* @var string
*/
- public $search_query;
+ protected $search_query;
/**
* Contains common words.
* Common words are words with length less/more than min/max length
* @var array
*/
- public $common_words = array();
+ protected $common_words = array();
/**
* Associative array stores the min and max word length to be searched
* @var array
*/
- public $word_length = array();
+ protected $word_length = array();
/**
* Constructor
diff --git a/phpBB/includes/search/fulltext_sphinx.php b/phpBB/includes/search/fulltext_sphinx.php
index 37e9240c7b..674029fe6c 100644
--- a/phpBB/includes/search/fulltext_sphinx.php
+++ b/phpBB/includes/search/fulltext_sphinx.php
@@ -118,7 +118,7 @@ class phpbb_search_fulltext_sphinx
* Operators are prefixed in search query and common words excluded
* @var string
*/
- public $search_query;
+ protected $search_query;
/**
* Constructor