aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2012-08-14 17:46:17 +0530
committerDhruv <dhruv.goel92@gmail.com>2012-08-14 17:46:17 +0530
commit469d8083656e455dc52cd1e4e65fdd7c86c5e2ab (patch)
tree4413c854ea23f95098a99c38953a97e1715e6037 /phpBB/includes/search
parent8e8e94ec4c43fa67366ae4c317ff123965f4fe0b (diff)
downloadforums-469d8083656e455dc52cd1e4e65fdd7c86c5e2ab.tar
forums-469d8083656e455dc52cd1e4e65fdd7c86c5e2ab.tar.gz
forums-469d8083656e455dc52cd1e4e65fdd7c86c5e2ab.tar.bz2
forums-469d8083656e455dc52cd1e4e65fdd7c86c5e2ab.tar.xz
forums-469d8083656e455dc52cd1e4e65fdd7c86c5e2ab.zip
[ticket/11048] use protected instead of private in native search
PHPBB3-11048
Diffstat (limited to 'phpBB/includes/search')
-rw-r--r--phpBB/includes/search/fulltext_native.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/phpBB/includes/search/fulltext_native.php b/phpBB/includes/search/fulltext_native.php
index 56a610a392..96b3f02ec6 100644
--- a/phpBB/includes/search/fulltext_native.php
+++ b/phpBB/includes/search/fulltext_native.php
@@ -22,20 +22,20 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_search_fulltext_native extends phpbb_search_base
{
- private $stats = array();
+ protected $stats = array();
public $word_length = array();
public $search_query;
public $common_words = array();
- private $must_contain_ids = array();
- private $must_not_contain_ids = array();
- private $must_exclude_one_ids = array();
+ protected $must_contain_ids = array();
+ protected $must_not_contain_ids = array();
+ protected $must_exclude_one_ids = array();
- private $phpbb_root_path;
- private $php_ext;
- private $config;
- private $db;
- private $user;
+ protected $phpbb_root_path;
+ protected $php_ext;
+ protected $config;
+ protected $db;
+ protected $user;
/**
* Initialises the fulltext_native search backend with min/max word length and makes sure the UTF-8 normalizer is loaded.
@@ -1440,7 +1440,7 @@ class phpbb_search_fulltext_native extends phpbb_search_base
$this->user->lang['TOTAL_MATCHES'] => $this->stats['total_matches']);
}
- private function get_stats()
+ protected function get_stats()
{
$this->stats['total_words'] = $this->db->get_estimated_row_count(SEARCH_WORDLIST_TABLE);
$this->stats['total_matches'] = $this->db->get_estimated_row_count(SEARCH_WORDMATCH_TABLE);
@@ -1461,7 +1461,7 @@ class phpbb_search_fulltext_native extends phpbb_search_base
*
* @todo normalizer::cleanup being able to be used?
*/
- private function cleanup($text, $allowed_chars = null, $encoding = 'utf-8')
+ protected function cleanup($text, $allowed_chars = null, $encoding = 'utf-8')
{
static $conv = array(), $conv_loaded = array();
$words = $allow = array();