Protected Member Functions | |
_afterSave () |
Definition at line 35 of file Type.php.
_afterSave | ( | ) | [protected] |
After change Catalog Search Type process
Reimplemented from Mage_Core_Model_Abstract.
Definition at line 42 of file Type.php.
00043 { 00044 $newValue = $this->getValue(); 00045 $oldValue = Mage::getConfig()->getNode( 00046 Mage_CatalogSearch_Model_Fulltext::XML_PATH_CATALOG_SEARCH_TYPE, 00047 $this->getScope(), 00048 $this->getScopeId() 00049 ); 00050 if ($newValue != $oldValue) { 00051 Mage::getSingleton('catalogsearch/fulltext')->resetSearchResults(); 00052 } 00053 00054 return $this; 00055 }