mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 02:48:56 +00:00
[ticket/11050] add access specifiers to mysql search properties
PHPBB3-11050
This commit is contained in:
parent
26a9ccab59
commit
db9351d0f6
1 changed files with 40 additions and 3 deletions
|
@ -22,14 +22,51 @@ if (!defined('IN_PHPBB'))
|
|||
*/
|
||||
class phpbb_search_fulltext_mysql extends phpbb_search_base
|
||||
{
|
||||
/**
|
||||
* Associative array holding index stats
|
||||
* @var array
|
||||
*/
|
||||
protected $stats = array();
|
||||
|
||||
/**
|
||||
* Holds the words entered by user splitted in array
|
||||
* @var array
|
||||
*/
|
||||
protected $split_words = array();
|
||||
|
||||
/**
|
||||
* @var phpbb_config Config class object
|
||||
*/
|
||||
protected $config;
|
||||
|
||||
/**
|
||||
* @var dbal DBAL class object
|
||||
*/
|
||||
protected $db;
|
||||
|
||||
/**
|
||||
* @var user User class object
|
||||
*/
|
||||
protected $user;
|
||||
protected $word_length = array();
|
||||
protected $search_query;
|
||||
protected $common_words = array();
|
||||
|
||||
/**
|
||||
* Associative array stores the min and max length
|
||||
* @var array
|
||||
*/
|
||||
public $word_length = array();
|
||||
|
||||
/**
|
||||
* Contains tidied search query
|
||||
* @var string
|
||||
*/
|
||||
public $search_query;
|
||||
|
||||
/**
|
||||
* Contains common words
|
||||
* common words are words with length less/more than min/max length
|
||||
* @var array
|
||||
*/
|
||||
public $common_words = array();
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
|
Loading…
Add table
Reference in a new issue