API Documentation

Service/WindowsAzure/Storage/Batch.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service_WindowsAzure
subpackage
Storage
version
$Id$
Classes
Zend_Service_WindowsAzure_Storage_Batch

Description

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.

Zend_Service_WindowsAzure_Storage_Batch

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service_WindowsAzure
subpackage
Storage
Properties
$_storageClient
$_forTableStorage
$_baseUrl
$_operations
$_isSingleSelect
Methods
__construct
getBaseUrl
_beginBatch
_clean
enlistOperation
commit
rollback
getOperationCount
isSingleSelect

Description

Properties

$_baseUrl

string $_baseUrl = ''

Base URL

Details

$_baseUrl
string
visibility
protected
default
final
false
static
false

$_forTableStorage

boolean $_forTableStorage = 'false'

For table storage?

Details

$_forTableStorage
boolean
visibility
protected
default
false
final
false
static
false

$_isSingleSelect

boolean $_isSingleSelect = 'false'

Does the batch contain a single select?

Details

$_isSingleSelect
boolean
visibility
protected
default
false
final
false
static
false

$_operations

unknown_type $_operations = 'array'

Pending operations

Details

$_operations
unknown_type
visibility
protected
default
array
final
false
static
false

$_storageClient

Zend_Service_WindowsAzure_Storage_BatchStorageAbstract $_storageClient = 'null'

Storage client the batch is defined on

Details

$_storageClient
Zend_Service_WindowsAzure_Storage_BatchStorageAbstract
visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct( Zend_Service_WindowsAzure_Storage_BatchStorageAbstract $storageClient = null,  $baseUrl ) :

Creates a new Zend_Service_WindowsAzure_Storage_Batch

Arguments
$storageClient
Zend_Service_WindowsAzure_Storage_BatchStorageAbstract
Storage client the batch is defined on
$baseUrl
Details
visibility
public
final
false
static
false

_beginBatch

_beginBatch( ) :

Starts a new batch operation set

Details
visibility
protected
final
false
static
false
throws

_clean

_clean( ) :

Cleanup current batch

Details
visibility
protected
final
false
static
false

commit

commit( ) : Zend_Http_Response

Commit current batch

Details
visibility
public
final
false
static
false
throws

enlistOperation

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

Enlist operation in current batch

Arguments
$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
Details
visibility
public
final
false
static
false
throws

getBaseUrl

getBaseUrl( ) : string

Get base URL for creating requests

Output
string
Details
visibility
public
final
false
static
false

getOperationCount

getOperationCount( ) : integer

Get operation count

Output
integer
Details
visibility
public
final
false
static
false

isSingleSelect

isSingleSelect( ) : boolean

Is single select?

Output
boolean
Details
visibility
public
final
false
static
false

rollback

rollback( ) :

Rollback current batch

Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.