Cloud/StorageService/Adapter/WindowsAzure.php
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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Cloud
- Subpackage
- StorageService
\Zend_Cloud_StorageService_Adapter_WindowsAzure
Package: Zend_Cloud\StorageServiceWindows Azure Blob Service abstraction
- Implements
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants
Properties
Methods



__construct(array | \Zend_Config $options = array()) : void
Creates a new Zend_Cloud_Storage_WindowsAzure instance
ParametersName | Type | Description |
---|
$options | array | \Zend_Config | Options for the Zend_Cloud_Storage_WindowsAzure instance |
---|



copyItem(string $sourcePath, string $destinationPath, array $options = null) : void
Copy an item in the storage service to a given path.
ParametersName | Type | Description |
---|
$sourcePath | string | |
---|
$destinationPath | string | |
---|
$options | array | |
---|



deleteItem(string $path, array $options = null) : void
Delete an item in the storage service.
ParametersName | Type | Description |
---|
$path | string | |
---|
$options | array | |
---|



deleteMetadata(string $path, array $options = null) : void
Delete a key/value array of metadata at the given path.
ParametersName | Type | Description |
---|
$path | string | |
---|
$options | array | |
---|



fetchItem(string $path, array $options = null) : mixed
Get an item from the storage service.
ParametersName | Type | Description |
---|
$path | string | |
---|
$options | array | |
---|
Returns 


fetchMetadata(string $path, array $options = null) : array
Get a key/value array of metadata for the given path.
ParametersName | Type | Description |
---|
$path | string | |
---|
$options | array | |
---|
Returns 


listItems(string $path, array $options = null) : array
List items in the given directory in the storage service
The $path must be a directory
ParametersName | Type | Description |
---|
$path | string | Must be a directory |
---|
$options | array | |
---|
ReturnsType | Description |
---|
array | A list of item names |



moveItem(string $sourcePath, string $destinationPath, array $options = null) : void
Move an item in the storage service to a given path.
ParametersName | Type | Description |
---|
$sourcePath | string | |
---|
$destinationPath | string | |
---|
$options | array | |
---|



renameItem(string $path, string $name, array $options = null) : void
Rename an item in the storage service to a given name.
ParametersName | Type | Description |
---|
$path | string | |
---|
$name | string | |
---|
$options | array | |
---|



storeItem(string $destinationPath, mixed $data, array $options = null) : boolean
Store an item in the storage service.
WARNING: This operation overwrites any item that is located at
$destinationPath.
ParametersName | Type | Description |
---|
$destinationPath | string | |
---|
$data | mixed | |
---|
$options | array | |
---|
Returns


storeMetadata(string $destinationPath, $metadata, array $options = null) : void
Store a key/value array of metadata at the given path.
WARNING: This operation overwrites any metadata that is located at
$destinationPath.
ParametersName | Type | Description |
---|
$destinationPath | string | |
---|
$metadata | | |
---|
$options | array | |
---|