You are here

public function FeedsElement::getValue in Feeds 8.2

@todo Make value public and deprecate use of getValue().

Return value

Value of this FeedsElement represented as a scalar.

4 calls to FeedsElement::getValue()
FeedsElement::__toString in lib/Drupal/feeds/FeedsElement.php
Magic method __toString() for printing and string conversion of this object.
FeedsEnclosure::getFile in lib/Drupal/feeds/FeedsEnclosure.php
Get a Drupal file object of the enclosed resource, download if necessary.
FeedsEnclosure::getLocalValue in lib/Drupal/feeds/FeedsEnclosure.php
Use this method instead of FeedsElement::getValue() to get the file name transformed for better local saving (underscores instead of spaces)
FeedsEnclosure::getUrlEncodedValue in lib/Drupal/feeds/FeedsEnclosure.php
Use this method instead of FeedsElement::getValue() when fetching the file from the URL.
3 methods override FeedsElement::getValue()
FeedsDateTimeElement::getValue in lib/Drupal/feeds/FeedsDateTimeElement.php
Override FeedsElement::getValue().
FeedsSimplePieEnclosure::getValue in lib/Drupal/feeds/FeedsSimplePieEnclosure.php
Override parent::getValue().
FeedsTermElement::getValue in lib/Drupal/feeds/FeedsTermElement.php
Use $name as $value.

File

lib/Drupal/feeds/FeedsElement.php, line 29

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.

Namespace

Drupal\feeds

Code

public function getValue() {
  return $this->value;
}