Algolia_Algoliasearch_Helper_Config::isPartialUpdateEnabled PHP Метод

isPartialUpdateEnabled() публичный Метод

public isPartialUpdateEnabled ( $storeId = null )
    public function isPartialUpdateEnabled($storeId = null)
    {
        return Mage::getStoreConfigFlag(self::PARTIAL_UPDATES, $storeId);
    }

Usage Example

 public function addObjects($objects, $index_name)
 {
     $this->handleTooBigRecords($objects, $index_name);
     $index = $this->getIndex($index_name);
     if ($this->config->isPartialUpdateEnabled()) {
         $index->partialUpdateObjects($objects);
     } else {
         $index->addObjects($objects);
     }
 }