API Documentation

Zend/Service/WindowsAzure/Storage/Batch.php

Show: inherited
Table of Contents

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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service_WindowsAzure  
Subpackage
Storage  
Version
$Id: Batch.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Service_WindowsAzure_Storage_Batch

Package: Zend\Service\WindowsAzure\Storage

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedstring  $_baseUrl= ''

Base URL

Details
Type
string
Propertyprotectedboolean  $_forTableStorage= 'false'

For table storage?

Default valuefalseDetails
Type
boolean
Propertyprotectedboolean  $_isSingleSelect= 'false'

Does the batch contain a single select?

Default valuefalseDetails
Type
boolean
Propertyprotected\unknown_type  $_operations= 'array()'

Pending operations

Default valuearray()Details
Type
\unknown_type
Propertyprotected\Zend_Service_WindowsAzure_Storage_BatchStorageAbstract  $_storageClient= 'null'

Storage client the batch is defined on

Methods

methodpublic__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
methodprotected_beginBatch( ) : void

Starts a new batch operation set

Throws
Exception Description
\Zend_Service_WindowsAzure_Exception
methodprotected_clean( ) : void

Cleanup current batch

methodpubliccommit( ) : \Zend_Http_Response

Commit current batch

Returns
Type Description
\Zend_Http_Response
Throws
Exception Description
\Zend_Service_WindowsAzure_Exception
methodpublicenlistOperation( 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
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

Throws
Exception Description
\Zend_Service_WindowsAzure_Exception
methodpublicgetBaseUrl( ) : string

Get base URL for creating requests

Returns
Type Description
string
methodpublicgetOperationCount( ) : integer

Get operation count

Returns
Type Description
integer
methodpublicisSingleSelect( ) : boolean

Is single select?

Returns
Type Description
boolean
methodpublicrollback( ) : void

Rollback current batch

Documentation was generated by DocBlox 0.15.1.