예제 #1
0
 /**
  * Get default options for selector
  *
  * @return array
  */
 protected function getDefaultOptions()
 {
     $list = array();
     $serviceOptions = \XLite\Module\CDev\AustraliaPost\Model\Shipping\Processor\AustraliaPost::getAuspostServiceOptions();
     foreach ($serviceOptions as $code => $name) {
         $list[$code] = $name;
     }
     return $list;
 }
예제 #2
0
파일: Aupost.php 프로젝트: kewaunited/xcart
 /**
  * Get service options array (for selector on Auspost configuration page)
  *
  * @return array
  */
 public function getAuspostServiceOptions()
 {
     return \XLite\Module\CDev\AustraliaPost\Model\Shipping\Processor\AustraliaPost::getAuspostServiceOptions();
 }