public function DrupalStreamWrapperInterface::getExternalUrl
7.x stream_wrappers.inc | public 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 drupal-7.x/
modules/ simpletest/ tests/ file_test.module - Override getExternalUrl().
- DrupalPrivateStreamWrapper::getExternalUrl in drupal-7.x/
includes/ stream_wrappers.inc - Overrides getExternalUrl().
- DrupalPublicStreamWrapper::getExternalUrl in drupal-7.x/
includes/ stream_wrappers.inc - Overrides getExternalUrl().
- DrupalTemporaryStreamWrapper::getExternalUrl in drupal-7.x/
includes/ stream_wrappers.inc - Overrides getExternalUrl().
File
- drupal-7.x/
includes/ stream_wrappers.inc, line 157 - Drupal stream wrapper interface.
Class
- DrupalStreamWrapperInterface
- Drupal stream wrapper extension.
Code
public function getExternalUrl();