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

 Methods

Creates a new Zend_Service_WindowsAzure_Storage_Batch

__construct(\Zend_Service_WindowsAzure_Storage_BatchStorageAbstract $storageClient = null, $baseUrl = ''

Parameters

$storageClient

\Zend_Service_WindowsAzure_Storage_BatchStorageAbstract

Storage client the batch is defined on

$baseUrl

Commit current batch

commit() : \Zend_Http_Response

Exceptions

\Zend_Service_WindowsAzure_Exception

Returns

\Zend_Http_Response

Enlist operation in current batch

enlistOperation(string $path = '/', string $queryString = '', string $httpVerb = \Zend_Http_Client::GET, array $headers = array(), boolean $forTableStorage = false, mixed $rawData = null

Parameters

$path

string

Path

$queryString

string

Query string

$httpVerb

string

HTTP verb the request will use

$headers

array

x-ms headers to add

$forTableStorage

boolean

Is the request for table storage?

$rawData

mixed

Optional RAW HTTP data to be sent over the wire

Exceptions

\Zend_Service_WindowsAzure_Exception

Get base URL for creating requests

getBaseUrl() : string

Returns

string

Get operation count

getOperationCount() : integer

Returns

integer

Is single select?

isSingleSelect() : boolean

Returns

boolean

Rollback current batch

rollback() 

Starts a new batch operation set

_beginBatch() 

Exceptions

\Zend_Service_WindowsAzure_Exception

Cleanup current batch

_clean() 

 Properties

 

Base URL

$_baseUrl : string

Default

 

For table storage?

$_forTableStorage : boolean

Default

false
 

Does the batch contain a single select?

$_isSingleSelect : boolean

Default

false
 

Pending operations

$_operations : \unknown_type

Default

array()
 

Storage client the batch is defined on

$_storageClient : \Zend_Service_WindowsAzure_Storage_BatchStorageAbstract

Default

null