You are here

public function DrupalStreamWrapperInterface::setUri in Drupal 7

Set the absolute stream resource URI.

This allows you to set the URI. Generally is only called by the factory method.

Parameters

$uri: A string containing the URI that should be used for this instance.

1 method overrides DrupalStreamWrapperInterface::setUri()
DrupalLocalStreamWrapper::setUri in includes/stream_wrappers.inc
Base implementation of setUri().

File

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

Class

DrupalStreamWrapperInterface
Drupal stream wrapper extension.

Code

public function setUri($uri);