コード例 #1
0
 public function __construct()
 {
     parent::__construct();
     $this->engine = new Algolia_Algoliasearch_Model_Resource_Engine();
     $this->config = Mage::helper('algoliasearch/config');
     $this->logger = Mage::helper('algoliasearch/logger');
 }
コード例 #2
0
 public function __construct()
 {
     /**
      * Add the customer groups as a matched entity in addition to category or product entity.
      */
     $this->_matchedEntities[Mage_Customer_Model_Group::ENTITY] = array(Mage_Index_Model_Event::TYPE_SAVE);
     parent::__construct();
 }
コード例 #3
0
 public function __construct()
 {
     parent::__construct();
     $this->config = Mage::helper('algoliasearch/config');
     $this->queue = Mage::getSingleton('algoliasearch/queue');
 }
コード例 #4
0
ファイル: Indexer.php プロジェクト: javik223/Evron-Magento
 public function __construct()
 {
     parent::__construct();
     $this->_config = Mage::helper('nanowebg_elasticsearch/elasticsearch')->getEngineConfig();
     $this->_stores = explode(",", $this->_config['stores']);
 }
コード例 #5
0
 public function __construct()
 {
     $this->mapping = Mage::helper('merlinsearch/mapping');
     parent::__construct();
 }
コード例 #6
0
 public function __construct()
 {
     parent::__construct();
     $this->engine = new Algolia_Algoliasearch_Model_Resource_Engine();
 }