2 class OrderXtraConfig {
3 // Location code of the default or main location
4 static $default_location = "";
6 // Array location => { delivery, parent }
7 // Location not listed are excluded
8 static $locations= array();
10 static function delivery($location) {
11 if(isset(self::$locations[$location])) {
12 $parameters = self::$locations[$location];
13 return @$parameters['delivery'];