*/ class Mage_Adminhtml_Block_Sales_Recurring_Profile_View_Getawayinfo extends Mage_Adminhtml_Block_Widget { /** * Return recurring profile getaway information for view * * @return array */ public function getRecurringProfileGetawayInformation() { $recurringProfile = Mage::registry('current_recurring_profile'); $information = array(); foreach($recurringProfile->getData() as $kay => $value) { $information[$recurringProfile->getFieldLabel($kay)] = $value; } return $information; } }