You are here

public function FeedsElement::getValue in Feeds 7.2

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

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

Return value

Value of this FeedsElement represented as a scalar.

5 calls to FeedsElement::getValue()
FeedsElement::__toString in plugins/FeedsParser.inc
Magic method __toString() for printing and string conversion of this object.
FeedsEnclosure::getFile in plugins/FeedsParser.inc
Get a Drupal file object of the enclosed resource, download if necessary.
FeedsEnclosure::getSafeFilename in plugins/FeedsParser.inc
Returns the safe file name.
FeedsEnclosure::getSanitizedUri in plugins/FeedsParser.inc
Returns the full path to the file URI with a safe file name.
FeedsEnclosure::getUrlEncodedValue in plugins/FeedsParser.inc
Use this method instead of FeedsElement::getValue() when fetching the file from the URL.
3 methods override FeedsElement::getValue()
FeedsDateTimeElement::getValue in plugins/FeedsParser.inc
Override FeedsElement::getValue().
FeedsSimplePieEnclosure::getValue in plugins/FeedsSimplePieParser.inc
Override parent::getValue().
FeedsTermElement::getValue in plugins/FeedsParser.inc
Use $name as $value.

File

plugins/FeedsParser.inc, line 218
Contains FeedsParser and related classes.

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 getValue() {
  return $this->value;
}