public function UcAddressesAddress::__sleep in Ubercart Addresses 7
Same name and namespace in other branches
- 6.2 class/UcAddressesAddress.class.php \UcAddressesAddress::__sleep()
Tells which members may kept when the address is being serialized.
@access public
Return value
array An array of members to keep upon serialization.
Overrides UcAddressesSchemaAddress::__sleep
File
- class/
UcAddressesAddress.class.php, line 98 - Contains the UcAddressesAddress class.
Class
- UcAddressesAddress
- The main address class used by uc_addresses (and extension modules).
Code
public function __sleep() {
$this
->getSchemaAddress()->uid = $this
->getUserId();
return parent::__sleep();
}