From 5a7ed3c56706f75dfe6180d17cb78557d00ed781 Mon Sep 17 00:00:00 2001
From: Dhruv <dhruv.goel92@gmail.com>
Date: Wed, 15 Aug 2012 12:04:55 +0530
Subject: [PATCH] [ticket/11050] add access specifiers to native search
 properties

PHPBB3-11050
---
 phpBB/includes/search/fulltext_native.php | 61 +++++++++++++++++++++--
 1 file 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;
 
 	/**