function FeedsSimplePieEnclosure::__construct in Feeds 7
Same name and namespace in other branches
- 6 plugins/FeedsSimplePieParser.inc \FeedsSimplePieEnclosure::__construct()
- 7.2 plugins/FeedsSimplePieParser.inc \FeedsSimplePieEnclosure::__construct()
Constructor requires SimplePie enclosure object.
Overrides FeedsEnclosure::__construct
File
- plugins/
FeedsSimplePieParser.inc, line 13
Class
- FeedsSimplePieEnclosure
- Adapter to present SimplePie_Enclosure as FeedsEnclosure object.
Code
function __construct(SimplePie_Enclosure $enclosure) {
$this->simplepie_enclosure = $enclosure;
}