Zend Framework
1.12
|
Public Member Functions | |
__construct ($options=array()) | |
Creates a new Zend_Cloud_Storage_WindowsAzure instance. | |
fetchItem ($path, $options=null) | |
Get an item from the storage service. | |
storeItem ($destinationPath, $data, $options=null) | |
Store an item in the storage service. | |
deleteItem ($path, $options=null) | |
Delete an item in the storage service. | |
copyItem ($sourcePath, $destinationPath, $options=null) | |
Copy an item in the storage service to a given path. | |
moveItem ($sourcePath, $destinationPath, $options=null) | |
Move an item in the storage service to a given path. | |
renameItem ($path, $name, $options=null) | |
Rename an item in the storage service to a given name. | |
listItems ($path, $options=null) | |
List items in the given directory in the storage service. | |
fetchMetadata ($path, $options=null) | |
Get a key/value array of metadata for the given path. | |
storeMetadata ($destinationPath, $metadata, $options=null) | |
Store a key/value array of metadata at the given path. | |
deleteMetadata ($path, $options=null) | |
Delete a key/value array of metadata at the given path. | |
deleteContainer () | |
Delete container. | |
getClient () | |
Get the concrete adapter. | |
![]() | |
deleteMetadata ($path) | |
Delete a key/value array of metadata at the given path. | |
Public Attributes | |
const | ACCOUNT_NAME = 'storage_accountname' |
const | ACCOUNT_KEY = 'storage_accountkey' |
const | HOST = "storage_host" |
const | PROXY_HOST = "storage_proxy_host" |
const | PROXY_PORT = "storage_proxy_port" |
const | PROXY_CREDENTIALS = "storage_proxy_credentials" |
const | CONTAINER = "storage_container" |
const | RETURN_TYPE = 'return_type' |
const | RETURN_PATHNAME = 'return_path' |
const | RETURN_OPENMODE = 'return_openmode' |
const | RETURN_PATH = 1 |
return types for fetch | |
const | RETURN_STRING = 2 |
const | RETURN_STREAM = 3 |
const | RETURN_LIST = 1 |
return types for list | |
const | RETURN_NAMES = 2 |
const | DEFAULT_HOST = Zend_Service_WindowsAzure_Storage::URL_CLOUD_BLOB |
![]() | |
const | HTTP_ADAPTER = 'http_adapter' |
Protected Attributes | |
$_container | |
$_storageClient = null | |
__construct | ( | $options = array() | ) |
Creates a new Zend_Cloud_Storage_WindowsAzure instance.
array | Zend_Config | $options | Options for the Zend_Cloud_Storage_WindowsAzure instance |
copyItem | ( | $sourcePath, | |
$destinationPath, | |||
$options = null |
|||
) |
Copy an item in the storage service to a given path.
string | $sourcePath | |
string | $destinationPath | |
array | $options |
Implements Zend_Cloud_StorageService_Adapter.
deleteContainer | ( | ) |
Delete container.
deleteItem | ( | $path, | |
$options = null |
|||
) |
Delete an item in the storage service.
string | $path | |
array | $options |
Implements Zend_Cloud_StorageService_Adapter.
deleteMetadata | ( | $path, | |
$options = null |
|||
) |
Delete a key/value array of metadata at the given path.
string | $path | |
array | $options |
fetchItem | ( | $path, | |
$options = null |
|||
) |
Get an item from the storage service.
string | $path | |
array | $options |
Implements Zend_Cloud_StorageService_Adapter.
fetchMetadata | ( | $path, | |
$options = null |
|||
) |
Get a key/value array of metadata for the given path.
string | $path | |
array | $options |
Implements Zend_Cloud_StorageService_Adapter.
getClient | ( | ) |
Get the concrete adapter.
Implements Zend_Cloud_StorageService_Adapter.
listItems | ( | $path, | |
$options = null |
|||
) |
List items in the given directory in the storage service.
The $path must be a directory
string | $path | Must be a directory |
array | $options |
Implements Zend_Cloud_StorageService_Adapter.
moveItem | ( | $sourcePath, | |
$destinationPath, | |||
$options = null |
|||
) |
Move an item in the storage service to a given path.
string | $sourcePath | |
string | $destinationPath | |
array | $options |
Implements Zend_Cloud_StorageService_Adapter.
renameItem | ( | $path, | |
$name, | |||
$options = null |
|||
) |
Rename an item in the storage service to a given name.
string | $path | |
string | $name | |
array | $options |
Implements Zend_Cloud_StorageService_Adapter.
storeItem | ( | $destinationPath, | |
$data, | |||
$options = null |
|||
) |
Store an item in the storage service.
WARNING: This operation overwrites any item that is located at $destinationPath.
string | $destinationPath | |
mixed | $data | |
array | $options |
Implements Zend_Cloud_StorageService_Adapter.
storeMetadata | ( | $destinationPath, | |
$metadata, | |||
$options = null |
|||
) |
Store a key/value array of metadata at the given path.
WARNING: This operation overwrites any metadata that is located at $destinationPath.
string | $destinationPath | |
array | $options |
Implements Zend_Cloud_StorageService_Adapter.
|
protected |
|
protected |
const ACCOUNT_KEY = 'storage_accountkey' |
const ACCOUNT_NAME = 'storage_accountname' |
const CONTAINER = "storage_container" |
const DEFAULT_HOST = Zend_Service_WindowsAzure_Storage::URL_CLOUD_BLOB |
const HOST = "storage_host" |
const PROXY_CREDENTIALS = "storage_proxy_credentials" |
const PROXY_HOST = "storage_proxy_host" |
const PROXY_PORT = "storage_proxy_port" |
const RETURN_LIST = 1 |
return types for list
const RETURN_NAMES = 2 |
const RETURN_OPENMODE = 'return_openmode' |
const RETURN_PATH = 1 |
return types for fetch
const RETURN_PATHNAME = 'return_path' |
const RETURN_STREAM = 3 |
const RETURN_STRING = 2 |
const RETURN_TYPE = 'return_type' |