You are here

function FeedsSimplePieEnclosure::__construct in Feeds 7

Same name and namespace in other branches
  1. 6 plugins/FeedsSimplePieParser.inc \FeedsSimplePieEnclosure::__construct()
  2. 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;
}