You are here

public function FeedsElement::__construct in Feeds 7

Same name and namespace in other branches
  1. 6 plugins/FeedsParser.inc \FeedsElement::__construct()
  2. 7.2 plugins/FeedsParser.inc \FeedsElement::__construct()

Constructor.

2 calls to FeedsElement::__construct()
FeedsEnclosure::__construct in plugins/FeedsParser.inc
Constructor, requires MIME type.
FeedsTermElement::__construct in plugins/FeedsParser.inc
3 methods override FeedsElement::__construct()
FeedsDateTimeElement::__construct in plugins/FeedsParser.inc
Constructor.
FeedsEnclosure::__construct in plugins/FeedsParser.inc
Constructor, requires MIME type.
FeedsTermElement::__construct in plugins/FeedsParser.inc

File

plugins/FeedsParser.inc, line 106

Class

FeedsElement
Defines an element of a parsed result. Such an element can be a simple type, a complex type (derived from FeedsElement) or an array of either.

Code

public function __construct($value) {
  $this->value = $value;
}