Exemplo n.º 1
0
 public function testGetAllOptions()
 {
     $options = Mage_Catalog_Model_Product_Type::getAllOptions();
     $types = $this->_assertOptions($options);
     $this->assertContains('', $types);
 }
Exemplo n.º 2
0
 /**
  * Returns array for backend options.
  *
  * @param  boolean  $all
  * @param  string   $countryId (ISO)
  * @return array    $return
  */
 public function toOptionArray($all = false, $countryId = null, $gridActionMode = false)
 {
     return Mage_Catalog_Model_Product_Type::getAllOptions();
 }