public function FeedsSimplePieEnclosure::__sleep in Feeds 7
Same name and namespace in other branches
- 6 plugins/FeedsSimplePieParser.inc \FeedsSimplePieEnclosure::__sleep()
- 7.2 plugins/FeedsSimplePieParser.inc \FeedsSimplePieEnclosure::__sleep()
Serialization helper.
Handle the simplepie enclosure class seperately ourselves.
File
- plugins/
FeedsSimplePieParser.inc, line 22
Class
- FeedsSimplePieEnclosure
- Adapter to present SimplePie_Enclosure as FeedsEnclosure object.
Code
public function __sleep() {
$this->_serialized_simplepie_enclosure = serialize($this->simplepie_enclosure);
return array(
'_serialized_simplepie_enclosure',
);
}