Mage_Catalog_Model_Product_Type_Api Class Reference

Inheritance diagram for Mage_Catalog_Model_Product_Type_Api:

Mage_Api_Model_Resource_Abstract Mage_Catalog_Model_Product_Type_Api_V2

List of all members.

Public Member Functions

 items ()


Detailed Description

Definition at line 34 of file Api.php.


Member Function Documentation

items (  ) 

Retrieve product type list

Returns:
array

Definition at line 41 of file Api.php.

00042     {
00043         $result = array();
00044 
00045         foreach (Mage_Catalog_Model_Product_Type::getOptionArray() as $type=>$label) {
00046             $result[] = array(
00047                 'type'  => $type,
00048                 'label' => $label
00049             );
00050         }
00051 
00052         return $result;
00053     }


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

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