Public Member Functions | |
items () |
Definition at line 34 of file Api.php.
items | ( | ) |
Retrieve product type list
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 }