How to get all shipping method label in Custom Grid admin module . I am using the below Code .Its returning all shipping method Lable But i need all those as a collection . So i can use it my Custom admin grid .Can Any One Help us out
$methods = Mage::getSingleton('shipping/config')->getActiveCarriers();
$shipMethods = array();
foreach ($methods as $shippigCode=>$shippingModel)
{
$shippingTitle = Mage::getStoreConfig('carriers/'.$shippigCode.'/title');
$shipMethods[$shippigCode] = $shippingTitle;
}
return $shipMethods;