protected function S3fsStreamWrapper::_open_write_stream in S3 File System 7
Same name and namespace in other branches
- 7.2 S3fsStreamWrapper.inc \S3fsStreamWrapper::_open_write_stream()
Initialize the stream wrapper for a write only stream.
Parameters
array $params: A Command parameters array.
array $errors: Array to which encountered errors should be appended.
Return value
bool
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 1374 - 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+'));
}