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