You are here

function MediaReadOnlyStreamWrapper::interpolateUrl in D7 Media 7

Same name and namespace in other branches
  1. 7.4 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::interpolateUrl()
  2. 7.2 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::interpolateUrl()
  3. 7.3 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::interpolateUrl()
1 call to MediaReadOnlyStreamWrapper::interpolateUrl()
MediaReadOnlyStreamWrapper::getExternalUrl in includes/MediaReadOnlyStreamWrapper.inc
Returns a web accessible URL for the resource.

File

includes/MediaReadOnlyStreamWrapper.inc, line 64

Class

MediaReadOnlyStreamWrapper
A base class for Resource Stream Wrappers.

Code

function interpolateUrl() {
  if ($parameters = $this
    ->get_parameters()) {
    return $this->base_url . '?' . http_build_query($parameters);
  }
}