public function FeedsSimplePieEnclosure::__wakeup in Feeds 7.2
Same name and namespace in other branches
- 6 plugins/FeedsSimplePieParser.inc \FeedsSimplePieEnclosure::__wakeup()
- 7 plugins/FeedsSimplePieParser.inc \FeedsSimplePieEnclosure::__wakeup()
Unserialization helper.
Ensure that the simplepie class definitions are loaded for the enclosure when unserializing.
File
- plugins/
FeedsSimplePieParser.inc, line 37 - Contains FeedsSimplePieParser and related classes.
Class
- FeedsSimplePieEnclosure
- Adapter to present SimplePie_Enclosure as FeedsEnclosure object.
Code
public function __wakeup() {
feeds_include_simplepie();
$this->simplepie_enclosure = unserialize($this->_serialized_simplepie_enclosure);
}