You are here

public function S3fsStreamWrapper::setUri in S3 File System 7.3

Same name and namespace in other branches
  1. 7 S3fsStreamWrapper.inc \S3fsStreamWrapper::setUri()
  2. 7.2 S3fsStreamWrapper.inc \S3fsStreamWrapper::setUri()

Sets the stream resource URI. URIs are formatted as "<scheme>://filepath".

Parameters

string $uri: The URI that should be used for this instance.

Overrides DrupalStreamWrapperInterface::setUri

3 calls to S3fsStreamWrapper::setUri()
S3fsStreamWrapper::stream_open in ./S3fsStreamWrapper.inc
Support for fopen(), file_get_contents(), file_put_contents() etc.
S3fsStreamWrapper::unlink in ./S3fsStreamWrapper.inc
Support for unlink().
S3fsStreamWrapper::url_stat in ./S3fsStreamWrapper.inc

File

./S3fsStreamWrapper.inc, line 302
Drupal stream wrapper implementation for S3 File System.

Class

S3fsStreamWrapper
The stream wrapper class.

Code

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