aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2012-08-15 12:04:55 +0530
committerDhruv <dhruv.goel92@gmail.com>2012-11-09 15:54:33 +0100
commit5a7ed3c56706f75dfe6180d17cb78557d00ed781 (patch)
tree2fe69322b2d852e0d7ebe8b04c759c0c19845a67 /phpBB/includes/search
parent3dc42c67d3d0870e47ecf98abfa885262bcf962d (diff)
downloadforums-5a7ed3c56706f75dfe6180d17cb78557d00ed781.tar
forums-5a7ed3c56706f75dfe6180d17cb78557d00ed781.tar.gz
forums-5a7ed3c56706f75dfe6180d17cb78557d00ed781.tar.bz2
forums-5a7ed3c56706f75dfe6180d17cb78557d00ed781.tar.xz
forums-5a7ed3c56706f75dfe6180d17cb78557d00ed781.zip
[ticket/11050] add access specifiers to native search properties
PHPBB3-11050
Diffstat (limited to 'phpBB/includes/search')
-rw-r--r--phpBB/includes/search/fulltext_native.php61
1 files changed, 58 insertions, 3 deletions
diff --git a/phpBB/includes/search/fulltext_native.php b/phpBB/includes/search/fulltext_native.php
index bc4ac4bbe0..6a21a5699d 100644
--- a/phpBB/includes/search/fulltext_native.php
+++ b/phpBB/includes/search/fulltext_native.php
@@ -22,19 +22,74 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_search_fulltext_native extends phpbb_search_base
{
+ /**
+ * Associative array holding index stats
+ * @var array
+ */
protected $stats = array();
- 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();
+
+ /**
+ * Post ids of posts containing words that are to be included
+ */
protected $must_contain_ids = array();
+
+ /**
+ * Post ids of posts containing words that should not be included
+ */
protected $must_not_contain_ids = array();
+
+ /**
+ * Post ids of posts containing atleast one word that needs to be excluded
+ */
protected $must_exclude_one_ids = array();
+ /**
+ * Relative path to board root
+ * @var string
+ */
protected $phpbb_root_path;
+
+ /**
+ * PHP Extension
+ * @var string
+ */
protected $php_ext;
+
+ /**
+ * Config class object
+ * @var phpbb_config
+ */
protected $config;
+
+ /**
+ * DBAL class object
+ * @var dbal
+ */
protected $db;
+
+ /**
+ * User class object
+ * @var user
+ */
protected $user;
/**