Mercurial > hg > isophonics-drupal-site
comparison vendor/zendframework/zend-feed/src/Reader/Extension/Atom/Feed.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 7a779792577d |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
477 } | 477 } |
478 | 478 |
479 /** | 479 /** |
480 * Attempt to absolutise the URI, i.e. if a relative URI apply the | 480 * Attempt to absolutise the URI, i.e. if a relative URI apply the |
481 * xml:base value as a prefix to turn into an absolute URI. | 481 * xml:base value as a prefix to turn into an absolute URI. |
482 * | |
483 * @param string $link | |
484 * @return string|null | |
482 */ | 485 */ |
483 protected function absolutiseUri($link) | 486 protected function absolutiseUri($link) |
484 { | 487 { |
485 if (! Uri::factory($link)->isAbsolute()) { | 488 if (! Uri::factory($link)->isAbsolute()) { |
486 if ($this->getBaseUrl() !== null) { | 489 if ($this->getBaseUrl() !== null) { |