コード例 #1
0
 function manage_upcharge()
 {
     $this->loc->src = "@globalstoresettings";
     $config = new expConfig($this->loc);
     $this->config = $config->config;
     $gc = new geoCountry();
     $countries = $gc->find('all');
     $gr = new geoRegion();
     $regions = $gr->find('all', null, 'rank asc,name asc');
     assign_to_template(array('countries' => $countries, 'regions' => $regions, 'upcharge' => $this->config['upcharge']));
 }
コード例 #2
0
 public function manage()
 {
     $gc = new geoCountry();
     $countries = $gc->find('all');
     $gr = new geoRegion();
     $regions = $gr->find('all', null, 'rank asc,name asc');
     assign_to_template(array('countries' => $countries, 'regions' => $regions));
 }