public function UcAddress::__construct in Ubercart 7.3
Constructor.
Parameters
$country: ISO 3166-1 3-digit numeric country code. Defaults to the value of the uc_store_country system variable if that variable is set, or 840 (United States of America) if it is not set.
File
- uc_store/
classes/ address.inc, line 54 - UcAddress utility class definition.
Class
- UcAddress
- Defines an object to hold Ubercart mailing address information.
Code
public function __construct($country = NULL) {
if (!$this->country) {
$this->country = isset($country) ? $country : variable_get('uc_store_country', 840);
}
}