Mage_Adminhtml_Model_System_Config_Source_Catalog_Search_Type Class Reference

List of all members.

Public Member Functions

 toOptionArray ()


Detailed Description

Definition at line 35 of file Type.php.


Member Function Documentation

toOptionArray (  ) 

Definition at line 37 of file Type.php.

00038     {
00039         $types = array(
00040             Mage_CatalogSearch_Model_Fulltext::SEARCH_TYPE_LIKE     => 'Like',
00041             Mage_CatalogSearch_Model_Fulltext::SEARCH_TYPE_FULLTEXT => 'Fulltext',
00042             Mage_CatalogSearch_Model_Fulltext::SEARCH_TYPE_COMBINE  => 'Combine (Like and Fulltext)',
00043         );
00044         $options = array();
00045         foreach ($types as $k => $v) {
00046             $options[] = array(
00047                 'value' => $k,
00048                 'label' => $v
00049             );
00050         }
00051         return $options;
00052     }


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

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