You are here

function UcOrder::__construct in Ubercart 6.2

Same name and namespace in other branches
  1. 7.3 uc_order/uc_order.module \UcOrder::__construct()

File

uc_order/uc_order.module, line 59

Class

UcOrder
Defines an order object.

Code

function __construct() {
  $this->order_status = uc_order_state_default('in_checkout');
  $this->currency = variable_get('uc_currency_code', 'USD');
}