mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11050] make all properties protected in all search backends
PHPBB-11050
This commit is contained in:
parent
c5c9bc5ada
commit
a509a8ed2d
4 changed files with 10 additions and 10 deletions
|
@ -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
|
* Associative array stores the min and max word length to be searched
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public $word_length = array();
|
protected $word_length = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains tidied search query.
|
* Contains tidied search query.
|
||||||
* Operators are prefixed in search query and common words excluded
|
* Operators are prefixed in search query and common words excluded
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $search_query;
|
protected $search_query;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains common words.
|
* Contains common words.
|
||||||
* Common words are words with length less/more than min/max length
|
* Common words are words with length less/more than min/max length
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public $common_words = array();
|
protected $common_words = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
|
@ -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
|
* Associative array stores the min and max word length to be searched
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public $word_length = array();
|
protected $word_length = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains tidied search query.
|
* Contains tidied search query.
|
||||||
* Operators are prefixed in search query and common words excluded
|
* Operators are prefixed in search query and common words excluded
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $search_query;
|
protected $search_query;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains common words.
|
* Contains common words.
|
||||||
* Common words are words with length less/more than min/max length
|
* Common words are words with length less/more than min/max length
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public $common_words = array();
|
protected $common_words = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Post ids of posts containing words that are to be included
|
* Post ids of posts containing words that are to be included
|
||||||
|
|
|
@ -82,20 +82,20 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
|
||||||
* Operators are prefixed in search query and common words excluded
|
* Operators are prefixed in search query and common words excluded
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $search_query;
|
protected $search_query;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains common words.
|
* Contains common words.
|
||||||
* Common words are words with length less/more than min/max length
|
* Common words are words with length less/more than min/max length
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public $common_words = array();
|
protected $common_words = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Associative array stores the min and max word length to be searched
|
* Associative array stores the min and max word length to be searched
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public $word_length = array();
|
protected $word_length = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
|
@ -118,7 +118,7 @@ class phpbb_search_fulltext_sphinx
|
||||||
* Operators are prefixed in search query and common words excluded
|
* Operators are prefixed in search query and common words excluded
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $search_query;
|
protected $search_query;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|
Loading…
Add table
Reference in a new issue