Exemplo n.º 1
0
 public function reindexSpecificSearch($id_search)
 {
     $objSearch = new AdvancedSearchClass($id_search, $this->_cookie->id_lang);
     $objSearch->updateCacheProduct();
     $criterions_groups_indexed = AdvancedSearchClass::getCriterionsGroupsIndexed($id_search, $this->_cookie->id_lang, false);
     if (self::_isFilledArray($criterions_groups_indexed)) {
         foreach ($criterions_groups_indexed as $key2 => $row2) {
             AdvancedSearchClass::indexCriterionsGroup($row2['criterion_group_type'], $row2['id_criterion_group_linked'], $objSearch, $row2['visible'], false, true);
         }
     }
     AdvancedSearchClass::optimizedSearchTables($objSearch->id, true);
     unset($objSearch, $criterions_groups_indexed, $id_search);
 }