Mage_Adminhtml_Model_System_Config_Backend_Catalog_Search_Type Class Reference

Inheritance diagram for Mage_Adminhtml_Model_System_Config_Backend_Catalog_Search_Type:

Mage_Core_Model_Config_Data Mage_Core_Model_Abstract Varien_Object

List of all members.

Protected Member Functions

 _afterSave ()


Detailed Description

Definition at line 35 of file Type.php.


Member Function Documentation

_afterSave (  )  [protected]

After change Catalog Search Type process

Returns:
Mage_Adminhtml_Model_System_Config_Catalog_Search_Type

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     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:23:13 2009 for Magento by  doxygen 1.5.8