public function FeedsSimplePieEnclosure::__sleep in Feeds 7.2
Same name and namespace in other branches
- 6 plugins/FeedsSimplePieParser.inc \FeedsSimplePieEnclosure::__sleep()
- 7 plugins/FeedsSimplePieParser.inc \FeedsSimplePieEnclosure::__sleep()
Serialization helper.
Handle the simplepie enclosure class separately ourselves.
File
- plugins/
FeedsSimplePieParser.inc, line 27 - Contains FeedsSimplePieParser and related classes.
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',
);
}