Public Member Functions | |
toOptionArray () |
Definition at line 35 of file Stock.php.
toOptionArray | ( | ) |
Retrieve option array
Definition at line 42 of file Stock.php.
00043 { 00044 return array( 00045 array( 00046 'value' => Mage_CatalogInventory_Model_Stock::STOCK_IN_STOCK, 00047 'label' => Mage::helper('cataloginventory')->__('In Stock') 00048 ), 00049 array( 00050 'value' => Mage_CatalogInventory_Model_Stock::STOCK_OUT_OF_STOCK, 00051 'label' => Mage::helper('cataloginventory')->__('Out of Stock') 00052 ), 00053 ); 00054 }