public function FeedsSimplePieEnclosure::__sleep in Feeds 6
Same name and namespace in other branches
- 7.2 plugins/FeedsSimplePieParser.inc \FeedsSimplePieEnclosure::__sleep()
- 7 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',
);
}