public function UcAddressesSchemaAddress::__sleep in Ubercart Addresses 7
Same name and namespace in other branches
- 6.2 class/UcAddressesSchemaAddress.class.php \UcAddressesSchemaAddress::__sleep()
Tells which members may be kept when the address is being serialized.
@access public
Return value
array An array of members to keep upon serialization.
1 call to UcAddressesSchemaAddress::__sleep()
- UcAddressesAddress::__sleep in class/
UcAddressesAddress.class.php - Tells which members may kept when the address is being serialized.
1 method overrides UcAddressesSchemaAddress::__sleep()
- UcAddressesAddress::__sleep in class/
UcAddressesAddress.class.php - Tells which members may kept when the address is being serialized.
File
- class/
UcAddressesSchemaAddress.class.php, line 91 - Contains the UcAddressesSchemaAddress class.
Class
- UcAddressesSchemaAddress
- The schema address class.
Code
public function __sleep() {
$vars = get_object_vars($this);
foreach ($vars as $key => $value) {
if ($key != 'sleep') {
$this->sleep[$key] = $value;
}
}
return array(
'sleep',
);
}