BulkUpdater work.
[order_line_extra.git] / includes / order_xtra_config.inc
1 <?php
2 class OrderXtraConfig {
3         // Location code of the default or main location
4         static $default_location = "";
5         
6         // Array location => { delivery, parent }
7         // Location not listed are excluded
8         static $locations= array();
9
10         static function delivery($location) {
11                         if(isset(self::$locations[$location])) {
12                         $parameters = self::$locations[$location];
13                                 return @$parameters['delivery'];
14                         }
15                         else {
16                                 return null;
17                         }
18                 }
19 }
20 ?>