/** * * @return array */ protected function _loadCollection() { $methods = array(); foreach (Axis_Shipping::getMethods() as $methodCode => $method) { $methods[$methodCode] = $method->getTitle(); } return $methods; }
/** * * @static * @return array */ public static function collect() { $ret = array(); foreach (Axis_Shipping::getMethods() as $methodCode => $method) { $ret[$methodCode] = $method->getTitle(); } return $ret; }