Service/WindowsAzure/Storage/Blob/Stream.php
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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- name_todo
- Package
- Zend_Service_WindowsAzure_Storage
- Subpackage
- Blob
- Version
- $Id: Stream.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_WindowsAzure_Storage_Blob_Stream
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

\Zend_Service_WindowsAzure_Storage_Blob $_storageClient = nullBlob storage client
nullDetails
Methods

_getContainerName(string $path) : stringExtract container name
| Name | Type | Description |
|---|---|---|
| $path | string |
| Type | Description |
|---|---|
| string |

_getFileName(string $path) : stringExtract file name
| Name | Type | Description |
|---|---|---|
| $path | string |
| Type | Description |
|---|---|
| string |

_getStorageClient(string $path = '') : \Zend_Service_WindowsAzure_Storage_BlobRetrieve storage client for this stream type
| Name | Type | Description |
|---|---|---|
| $path | string |
| Type | Description |
|---|---|
| \Zend_Service_WindowsAzure_Storage_Blob |

dir_opendir(string $path, integer $options) : booleanAttempt to open a directory
| Name | Type | Description |
|---|---|---|
| $path | string | |
| $options | integer |
| Type | Description |
|---|---|
| boolean |

mkdir(string $path, integer $mode, integer $options) : booleanCreate a new directory
| Name | Type | Description |
|---|---|---|
| $path | string | |
| $mode | integer | |
| $options | integer |
| Type | Description |
|---|---|
| boolean |

rename(string $path_from, string $path_to) : booleanAttempt to rename the item
| Name | Type | Description |
|---|---|---|
| $path_from | string | |
| $path_to | string |
| Type | Description |
|---|---|
| boolean | False |

rmdir(string $path, integer $options) : booleanRemove a directory
| Name | Type | Description |
|---|---|---|
| $path | string | |
| $options | integer |
| Type | Description |
|---|---|
| boolean |

stream_flush() : booleanFlush current cached stream data to storage
| Type | Description |
|---|---|
| boolean |

stream_open(string $path, string $mode, integer $options, string $opened_path) : booleanOpen the stream
| Name | Type | Description |
|---|---|---|
| $path | string | |
| $mode | string | |
| $options | integer | |
| $opened_path | string |
| Type | Description |
|---|---|
| boolean |

stream_read(integer $count) : stringRead from the stream
| Name | Type | Description |
|---|---|---|
| $count | integer |
| Type | Description |
|---|---|
| string |

stream_seek(integer $offset, integer $whence) : booleanUpdate the read/write position of the stream
| Name | Type | Description |
|---|---|---|
| $offset | integer | |
| $whence | integer |
| Type | Description |
|---|---|
| boolean |

stream_tell() : integerWhat is the current read/write position of the stream?
| Type | Description |
|---|---|
| integer |

stream_write(string $data) : integerWrite to the stream
| Name | Type | Description |
|---|---|---|
| $data | string |
| Type | Description |
|---|---|
| integer |

unlink(string $path) : booleanAttempt to delete the item
| Name | Type | Description |
|---|---|---|
| $path | string |
| Type | Description |
|---|---|
| boolean |