1: <?php
2:
3: /**
4: * ShipSync
5: *
6: * @category IllApps
7: * @package IllApps_Shipsync
8: * @copyright Copyright (c) 2014 EcoMATICS, Inc. DBA IllApps (http://www.illapps.com)
9: * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
10: */
11:
12: /**
13: * IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Method
14: */
15: class IllApps_Shipsync_Model_Shipping_Carrier_Fedex_Source_Method
16: {
17: public function toOptionArray()
18: {
19: $fedex = Mage::getSingleton('usa/shipping_carrier_fedex');
20: $arr = array();
21: foreach ($fedex->getCode('method') as $k => $v) {
22: $arr[] = array('value' => $k, 'label' => $v);
23: }
24: return $arr;
25: }
26: }
27: