public function __destruct() { return parent::destruct(array('defaultShippingAddressID', 'defaultBillingAddressID')); }
public function __destruct() { foreach ($this->orderedItems as $item) { $item->__destruct(); $item->destruct(); } $this->orderedItems = array(); foreach ($this->removedItems as $item) { $item->__destruct(); $item->destruct(); } $this->removedItems = array(); $this->taxes = array(); if (isset($this->shipments)) { foreach ($this->shipments as $shipment) { $shipment->__destruct(); $shipment->destruct(); } } $this->shipments = array(); parent::destruct(array('userID', 'billingAddressID', 'shippingAddressID')); }
public function __destruct() { parent::destruct(array('stateID')); }
public function __destruct() { parent::destruct(array('userID', 'userAddressID')); }