Back to PhocacartAccess class

Method __construct

public
__construct
()

Method __construct - Source code

public function __construct()
{
    $this->login = 0;
    // User is only logged in
    $this->addressadded = 0;
    // Address added and stored without errors
    $this->addressedit = 0;
    // Address will be edited
    $this->addressview = 0;
    $this->shippingadded = 0;
    $this->shippingedit = 0;
    $this->shippingview = 0;
    $this->shippingnotused = 0;
    $this->shippingdisplayeditbutton = 1;
    // if shipping method is only one and automatically selected then set to zero
    $this->paymentadded = 0;
    $this->paymentedit = 0;
    $this->paymentview = 0;
    $this->paymentnotused = 0;
    $this->paymentdisplayeditbutton = 1;
    // if payment method is only one and automatically selected then set to zero
    $this->confirm = 0;
}