public function FeedsEnclosure::__construct in Feeds 7
Same name and namespace in other branches
- 6 plugins/FeedsParser.inc \FeedsEnclosure::__construct()
- 7.2 plugins/FeedsParser.inc \FeedsEnclosure::__construct()
Constructor, requires MIME type.
Overrides FeedsElement::__construct
1 method overrides FeedsEnclosure::__construct()
- FeedsSimplePieEnclosure::__construct in plugins/
FeedsSimplePieParser.inc - Constructor requires SimplePie enclosure object.
File
- plugins/
FeedsParser.inc, line 201
Class
- FeedsEnclosure
- Enclosure element, can be part of the result array.
Code
public function __construct($value, $mime_type) {
parent::__construct($value);
$this->mime_type = $mime_type;
}