You are here

public function FeedsSimplePieEnclosure::__construct in Feeds 7.2

Same name and namespace in other branches
  1. 6 plugins/FeedsSimplePieParser.inc \FeedsSimplePieEnclosure::__construct()
  2. 7 plugins/FeedsSimplePieParser.inc \FeedsSimplePieEnclosure::__construct()

Constructor requires SimplePie enclosure object.

Overrides FeedsEnclosure::__construct

File

plugins/FeedsSimplePieParser.inc, line 18
Contains FeedsSimplePieParser and related classes.

Class

FeedsSimplePieEnclosure
Adapter to present SimplePie_Enclosure as FeedsEnclosure object.

Code

public function __construct(SimplePie_Enclosure $enclosure) {
  $this->simplepie_enclosure = $enclosure;
}