category Zend
package Zend_Service_WindowsAzure_Storage
subpackage Blob
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Close a directory

dir_closedir() : boolean

Returns

booleanTrue

Attempt to open a directory

dir_opendir(string $path, integer $options) : boolean

Parameters

$path

string

$options

integer

Returns

boolean

Return the next filename in the directory

dir_readdir() : string

Returns

string

Reset the directory pointer

dir_rewinddir() : boolean

Returns

booleanTrue

Create a new directory

mkdir(string $path, integer $mode, integer $options) : boolean

Parameters

$path

string

$mode

integer

$options

integer

Returns

boolean

Attempt to rename the item

rename(string $path_from, string $path_to) : boolean

Parameters

$path_from

string

$path_to

string

Returns

booleanFalse

Remove a directory

rmdir(string $path, integer $options) : boolean

Parameters

$path

string

$options

integer

Returns

boolean

Close the stream

stream_close() : void

End of the stream?

stream_eof() : boolean

Returns

boolean

Flush current cached stream data to storage

stream_flush() : boolean

Returns

boolean

Open the stream

stream_open(string $path, string $mode, integer $options, string $opened_path) : boolean

Parameters

$path

string

$mode

string

$options

integer

$opened_path

string

Returns

boolean

Read from the stream

stream_read(integer $count) : string

Parameters

$count

integer

Returns

string

Update the read/write position of the stream

stream_seek(integer $offset, integer $whence) : boolean

Parameters

$offset

integer

$whence

integer

Returns

boolean

Returns data array of stream variables

stream_stat() : array

Returns

array

What is the current read/write position of the stream?

stream_tell() : integer

Returns

integer

Write to the stream

stream_write(string $data) : integer

Parameters

$data

string

Returns

integer

Return array of URL variables

url_stat(string $path, integer $flags) : array

Parameters

$path

string

$flags

integer

Returns

array

Extract container name

_getContainerName(string $path) : string

Parameters

$path

string

Returns

string

Extract file name

_getFileName(string $path) : string

Parameters

$path

string

Returns

string

Retrieve storage client for this stream type

_getStorageClient(string $path = '') : \Zend_Service_WindowsAzure_Storage_Blob

Parameters

$path

string

Returns

\Zend_Service_WindowsAzure_Storage_Blob

 Properties

 

List of blobs

$_blobs : array

Default

null
 

Current file name

$_fileName : string

Default

null
 

Blob storage client

$_storageClient : \Zend_Service_WindowsAzure_Storage_Blob

Default

null
 

Temporary file handle

$_temporaryFileHandle : resource

Default

null
 

Temporary file name

$_temporaryFileName : string

Default

null
 

Write mode?

$_writeMode : boolean

Default

false