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.
DEVSTORE_ACCOUNT = 'devstoreaccount1'
Development storage account and key
DEVSTORE_KEY = 'Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw=='
PREFIX_PROPERTIES = 'x-ms-prop-'
HTTP header prefixes
PREFIX_METADATA = 'x-ms-meta-'
PREFIX_STORAGE_HEADER = 'x-ms-'
PERMISSION_READ = 'r'
Permissions
PERMISSION_WRITE = 'w'
PERMISSION_DELETE = 'd'
PERMISSION_LIST = 'l'
string $_accountKey = ''
Account key for Windows Azure
string $_accountName = ''
Account name for Windows Azure
boolean $_usePathStyleUri = 'false'
Use path-style URI's
__construct(
string $accountName
=
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract, string $accountKey
=
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract, boolean $usePathStyleUri
=
false
)
:
Creates a new Zend_Service_WindowsAzure_Credentials_CredentialsAbstract instance
_issetOr(
array $array, mixed $key, mixed $valueIfNotSet
)
:
mixed
Returns an array value if the key is set, otherwide returns $valueIfNotSet
_makeArrayOfQueryString(
string $value
)
:
array
Make array of query string
_prepareQueryStringForSigning(
string $value
)
:
string
Prepare query string for signing
setAccountName(
string $value
=
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract
)
:
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract
Set account name for Windows Azure
setAccountkey(
string $value
=
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract
)
:
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract
Set account key for Windows Azure
setUsePathStyleUri(
boolean $value
=
false
)
:
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract
Set use path-style URI's
signRequestHeaders(
string $httpVerb
=
Zend_Http_Client, string $path
=
/, string $queryString, array $headers
=
null, boolean $forTableStorage
=
false, string $resourceType
=
Zend_Service_WindowsAzure_Storage, string $requiredPermission
=
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract, mixed $rawData
=
null
)
:
array
Sign request headers with credentials
signRequestUrl(
string $requestUrl, string $resourceType
=
Zend_Service_WindowsAzure_Storage, string $requiredPermission
=
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract
)
:
string
Sign request URL with credentials