public function __construct($registry) { parent::__construct($registry); if (($this->Cart = Session::getActiveCart()) === NULL) { $this->Cart = array(); } if (($this->globalPrice = Session::getActiveGlobalPrice()) === NULL) { $this->globalPrice = 0.0; } if (($this->globalWeight = Session::getActiveGlobalWeight()) === NULL) { $this->globalWeight = 0.0; } if (($this->globalPriceWithoutVat = Session::getActiveGlobalPriceWithoutVat()) === NULL) { $this->globalPriceWithoutVat = 0.0; } if (($this->globalPriceWithDispatchmethod = Session::getActiveGlobalPriceWithDispatchmethod()) === NULL) { $this->globalPriceWithDispatchmethod = 0.0; } if (($this->globalPriceWithDispatchmethodNetto = Session::getActiveGlobalPriceWithDispatchmethodNetto()) === NULL) { $this->globalPriceWithDispatchmethodNetto = 0.0; } if ($this->count = Session::getActiveCount() === NULL) { $this->count = 0; } }