Public Member Functions | |
toOptionArray () |
Definition at line 35 of file Type.php.
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 }