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 license@zend.com 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_Service_WindowsAzure
- Subpackage
- Storage
- Version
- $Id$
\Zend_Service_WindowsAzure_Storage_Batch
Package: Zend_Service_WindowsAzure\Storage
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
boolean $_isSingleSelect = false
Does the batch contain a single select?
Default value
false
Details- Type
- boolean
Methods
__construct(\Zend_Service_WindowsAzure_Storage_BatchStorageAbstract $storageClient = null, $baseUrl = '') : void
Creates a new Zend_Service_WindowsAzure_Storage_Batch
Parameters
Name | Type | Description |
---|---|---|
$storageClient | \Zend_Service_WindowsAzure_Storage_BatchStorageAbstract | Storage client the batch is defined on |
$baseUrl |
_beginBatch() : void
Starts a new batch operation set
Throws
Exception | Description |
---|---|
\Zend_Service_WindowsAzure_Exception |
commit() : \Zend_Http_Response
Commit current batch
Returns
Throws
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) : void
Enlist operation in current batch
Parameters
Throws
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 |