public function UcAddressesSchemaAddress::__wakeup in Ubercart Addresses 6.2
Same name and namespace in other branches
- 7 class/UcAddressesSchemaAddress.class.php \UcAddressesSchemaAddress::__wakeup()
Restore variables when the address is unserialized.
@access public
Return value
array
1 call to UcAddressesSchemaAddress::__wakeup()
- UcAddressesAddress::__wakeup in class/
UcAddressesAddress.class.php - Restore variables when the address is unserialized.
1 method overrides UcAddressesSchemaAddress::__wakeup()
- UcAddressesAddress::__wakeup in class/
UcAddressesAddress.class.php - Restore variables when the address is unserialized.
File
- class/
UcAddressesSchemaAddress.class.php, line 109 - Contains the UcAddressesSchemaAddress class.
Class
- UcAddressesSchemaAddress
- The schema address class.
Code
public function __wakeup() {
// Restore variables saved in sleep.
foreach ($this->sleep as $key => $value) {
$this->{$key} = $value;
}
// Clear out sleep.
$this->sleep = array();
}