コード例 #1
0
 /**
  * Constructor with parameters
  * Array of arguments with keys
  *  - 'metadata' Enterprise_Mview_Model_Metadata
  *  - 'connection' Varien_Db_Adapter_Interface
  *  - 'factory' Mage_Core_Model_Factory
  *
  * @param array $args
  */
 public function __construct(array $args)
 {
     $this->_setConnection($args['connection']);
     $this->_setMetadata($args['metadata']);
     $this->_setFactory($args['factory']);
     $this->_uniqueIdentifier = $this->_factory->getHelper('core')->uniqHash();
 }
コード例 #2
0
 /**
  * Return whether fulltext engine is on
  *
  * @deprecated since version 1.13.2
  * @return bool
  */
 protected function _isFulltextOn()
 {
     return $this->_factory->getHelper('enterprise_catalogsearch')->isFulltextOn();
 }