Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Amazon S3 PHP stream wrapper
array $_bucketList = 'array'
string $_objectBuffer = 'null'
string $_objectName = 'null'
integer $_objectSize = '0'
integer $_position = '0'
Zend_Service_Amazon_S3 $_s3 = 'null'
boolean $_writeBuffer = 'false'
_getNamePart(
string $path
)
:
string
Extract object name from URL
_getS3Client(
string $path
)
:
Zend_Service_Amazon_S3
Retrieve client for this stream type
dir_closedir(
)
:
boolean
Close a directory
dir_opendir(
string $path, integer $options
)
:
boolean
Attempt to open a directory
dir_readdir(
)
:
string
Return the next filename in the directory
dir_rewinddir(
)
:
boolean
Reset the directory pointer
mkdir(
string $path, integer $mode, integer $options
)
:
boolean
Create a new directory
rename(
string $path_from, string $path_to
)
:
boolean
Attempt to rename the item
rmdir(
string $path, integer $options
)
:
boolean
Remove a directory
stream_close(
)
:
void
Close the stream
stream_eof(
)
:
boolean
End of the stream?
stream_flush(
)
:
boolean
Flush current cached stream data to storage
stream_open(
string $path, string $mode, integer $options, string $opened_path
)
:
boolean
Open the stream
stream_read(
integer $count
)
:
string
Read from the stream
http://bugs.php.net/21641 - stream_read() is always passed PHP's internal read buffer size (8192) no matter what is passed as $count parameter to fread().
stream_seek(
integer $offset, integer $whence
)
:
boolean
Update the read/write position of the stream
stream_stat(
)
:
array
Returns data array of stream variables
stream_tell(
)
:
integer
What is the current read/write position of the stream
stream_write(
string $data
)
:
integer
Write to the stream
unlink(
string $path
)
:
boolean
Attempt to delete the item
url_stat(
string $path, integer $flags
)
:
array
Return array of URL variables