7.x stream_wrappers.inc DrupalStreamWrapperInterface::getExternalUrl()

Returns a web accessible URL for the resource.

This function should return a URL that can be embedded in a web page and accessed from a browser. For example, the external URL of "youtube://xIpLd0WQKCY" might be "http://www.youtube.com/watch?v=xIpLd0WQKCY".

Return value

Returns a string containing a web accessible URL for the resource.

4 methods override DrupalStreamWrapperInterface::getExternalUrl()
DrupalDummyStreamWrapper::getExternalUrl in modules/simpletest/tests/file_test.module
Override getExternalUrl().
DrupalPrivateStreamWrapper::getExternalUrl in includes/stream_wrappers.inc
Overrides getExternalUrl().
DrupalPublicStreamWrapper::getExternalUrl in includes/stream_wrappers.inc
Overrides getExternalUrl().
DrupalTemporaryStreamWrapper::getExternalUrl in includes/stream_wrappers.inc
Overrides getExternalUrl().

File

includes/stream_wrappers.inc, line 157
Drupal stream wrapper interface.

Class

DrupalStreamWrapperInterface
Drupal stream wrapper extension.

Code

public function getExternalUrl();