diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2012-08-10 16:07:24 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2012-11-09 15:54:28 +0100 |
commit | db9351d0f6f1baa2184cfef284317b62f5ba52a6 (patch) | |
tree | 76bdc657dcf410364de8fb0ba4c2199b1c968e4f /phpBB/includes/search | |
parent | 26a9ccab59ca1e1463778b169911a024acbd4736 (diff) | |
download | forums-db9351d0f6f1baa2184cfef284317b62f5ba52a6.tar forums-db9351d0f6f1baa2184cfef284317b62f5ba52a6.tar.gz forums-db9351d0f6f1baa2184cfef284317b62f5ba52a6.tar.bz2 forums-db9351d0f6f1baa2184cfef284317b62f5ba52a6.tar.xz forums-db9351d0f6f1baa2184cfef284317b62f5ba52a6.zip |
[ticket/11050] add access specifiers to mysql search properties
PHPBB3-11050
Diffstat (limited to 'phpBB/includes/search')
-rw-r--r-- | phpBB/includes/search/fulltext_mysql.php | 43 |
1 files changed, 40 insertions, 3 deletions
diff --git a/phpBB/includes/search/fulltext_mysql.php b/phpBB/includes/search/fulltext_mysql.php index 7cd06dee19..a1c9101bc1 100644 --- a/phpBB/includes/search/fulltext_mysql.php +++ b/phpBB/includes/search/fulltext_mysql.php @@ -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 |