1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 09:24:25 +03:00

Merge pull request #48 from 1d10t/master

search extensibility / private hell / php classes only
This commit is contained in:
Mzhelskiy Maxim 2011-11-24 19:37:26 -08:00
commit 9fcff49915
2 changed files with 5 additions and 5 deletions

View file

@ -20,9 +20,9 @@
* *
*/ */
class ActionSearch extends Action { class ActionSearch extends Action {
private $sTypesEnabled = array('topics' => array('topic_publish' => 1), 'comments' => array('comment_delete' => 0)); protected $sTypesEnabled = array('topics' => array('topic_publish' => 1), 'comments' => array('comment_delete' => 0));
private $aSphinxRes = null; protected $aSphinxRes = null;
private $bIsResults = FALSE; protected $bIsResults = FALSE;
public function Init() { public function Init() {
$this->SetDefaultEvent('index'); $this->SetDefaultEvent('index');
@ -172,7 +172,7 @@ class ActionSearch extends Action {
* @param unknown_type $iLimit * @param unknown_type $iLimit
* @return unknown * @return unknown
*/ */
private function PrepareResults($aReq, $iLimit){ protected function PrepareResults($aReq, $iLimit){
/** /**
* Количество результатов по типам * Количество результатов по типам
*/ */

View file

@ -6,7 +6,7 @@ require_once(Config::Get('path.root.engine').'/lib/external/Sphinx/sphinxapi.php
* *
*/ */
class ModuleSphinx extends Module { class ModuleSphinx extends Module {
private $oSphinx = null; protected $oSphinx = null;
/** /**
* Инициализация * Инициализация