Service/WindowsAzure/Storage/Batch.php
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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service_WindowsAzure
- Subpackage
- Storage
- Version
- $Id: Batch.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_WindowsAzure_Storage_Batch
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

boolean $_isSingleSelect = falseDoes the batch contain a single select?
falseDetails- Type
- boolean

\unknown_type $_operations = array()Pending operations
array()Details- Type
- \unknown_type
Methods

__construct(\Zend_Service_WindowsAzure_Storage_BatchStorageAbstract $storageClient = null, $baseUrl = '') : voidCreates a new Zend_Service_WindowsAzure_Storage_Batch
| Name | Type | Description |
|---|---|---|
| $storageClient | \Zend_Service_WindowsAzure_Storage_BatchStorageAbstract | Storage client the batch is defined on |
| $baseUrl |

_beginBatch() : voidStarts a new batch operation set
| Exception | Description |
|---|---|
| \Zend_Service_WindowsAzure_Exception |

commit() : \Zend_Http_ResponseCommit current batch
| Type | Description |
|---|---|
| \Zend_Http_Response |
| Exception | Description |
|---|---|
| \Zend_Service_WindowsAzure_Exception |

enlistOperation(string $path = '/', string $queryString = '', string $httpVerb = \Zend_Http_Client::GET, array $headers = array(), boolean $forTableStorage = false, mixed $rawData = null) : voidEnlist operation in current batch
| Name | Type | Description |
|---|---|---|
| $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 |
| Exception | Description |
|---|---|
| \Zend_Service_WindowsAzure_Exception |