protected function S3fsStreamWrapper::_open_write_stream in S3 File System 7.2
Same name and namespace in other branches
- 7 S3fsStreamWrapper.inc \S3fsStreamWrapper::_open_write_stream()
Initialize the stream wrapper for a write only stream.
Parameters
array $params: An array of AWS SDK for PHP Command parameters.
array $errors: OUT parameter: all encountered errors are appended to this array.
2 calls to S3fsStreamWrapper::_open_write_stream()
- S3fsStreamWrapper::stream_open in ./
S3fsStreamWrapper.inc - Support for fopen(), file_get_contents(), file_put_contents() etc.
- S3fsStreamWrapper::_open_append_stream in ./
S3fsStreamWrapper.inc - Initialize the stream wrapper for an append stream.
File
- ./
S3fsStreamWrapper.inc, line 1469 - Drupal stream wrapper implementation for S3 File System.
Class
- S3fsStreamWrapper
- The stream wrapper class.
Code
protected function _open_write_stream($params, &$errors) {
$this
->_debug("_open_write_stream({$params['Key']}) called.", TRUE);
$this->body = new Guzzle\Http\EntityBody(fopen('php://temp', 'r+'));
}