You are here

function MediaReadOnlyStreamWrapper::setUri in D7 Media 7

Same name and namespace in other branches
  1. 7.4 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::setUri()
  2. 7.2 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::setUri()
  3. 7.3 includes/MediaReadOnlyStreamWrapper.inc \MediaReadOnlyStreamWrapper::setUri()

Base implementation of setUri().

Overrides DrupalStreamWrapperInterface::setUri

File

includes/MediaReadOnlyStreamWrapper.inc, line 125

Class

MediaReadOnlyStreamWrapper
A base class for Resource Stream Wrappers.

Code

function setUri($uri) {
  $this->uri = $uri;
  $this->parameters = $this
    ->_parse_url($uri);
}