Mage_CatalogInventory_Model_Source_Stock Class Reference

List of all members.

Public Member Functions

 toOptionArray ()


Detailed Description

Definition at line 35 of file Stock.php.


Member Function Documentation

toOptionArray (  ) 

Retrieve option array

Returns:
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     }


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

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