public function FeedsDateTime::__wakeup in Feeds 6
Same name and namespace in other branches
- 7.2 plugins/FeedsParser.inc \FeedsDateTime::__wakeup()
- 7 plugins/FeedsParser.inc \FeedsDateTime::__wakeup()
Upon unserializing, we must re-build ourselves using local variables.
File
- plugins/
FeedsParser.inc, line 488
Class
- FeedsDateTime
- Extend PHP DateTime class with granularity handling, merge functionality and slightly more flexible initialization parameters.
Code
public function __wakeup() {
$this
->__construct($this->_serialized_time, new DateTimeZone($this->_serialized_timezone));
}