Service/WindowsAzure/Storage/TableEntity.php

Show: PublicProtectedPrivateinherited
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-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_TableEntity

Package: Zend_Service_WindowsAzure\Storage
Children
\Zend_Service_WindowsAzure_Storage_DynamicTableEntity
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedstring $_etag = ''
Etag
Default value''Details
Type
string
>VPropertyprotectedstring $_partitionKey
Partition key
Details
Type
string
>VPropertyprotectedstring $_rowKey
Row key
Details
Type
string
>VPropertyprotectedstring $_timestamp
Timestamp
Details
Type
string

Methods

methodpublic__construct(string $partitionKey = '', string $rowKey = '') : void

Constructor

Parameters
NameTypeDescription
$partitionKeystring

Partition key

$rowKeystring

Row key

methodprotected_convertToDateTime(string $value = '') : \DateTime | boolean

Converts a string to a DateTime object. Returns false on failure.

Parameters
NameTypeDescription
$valuestring

The string value to parse

Returns
TypeDescription
\DateTime | boolean
methodpublicgetAzureAccessor(\ReflectionProperty | \ReflectionMethod $member) : object
static

Get Azure accessor from reflection member

Parameters
NameTypeDescription
$member\ReflectionProperty | \ReflectionMethod
Returns
TypeDescription
object
methodpublicgetAzureAccessors(string $className = '') : array
static

Get Azure accessors from class

Parameters
NameTypeDescription
$classNamestring

Class to get accessors for

Returns
TypeDescription
array
methodpublicgetAzureValues() : array

Get Azure values

Returns
TypeDescription
array
methodpublicgetEtag() : string

Get etag

Returns
TypeDescription
string
methodpublicgetPartitionKey() : string

Get partition key

Returns
TypeDescription
string
Details
Azure
PartitionKey  
methodpublicgetRowKey() : string

Get row key

Returns
TypeDescription
string
Details
Azure
RowKey  
methodpublicgetTimestamp() : string

Get timestamp

Returns
TypeDescription
string
Details
Azure
Timestamp Edm.DateTime  
methodpublicsetAzureValues(array $values = array(), boolean $throwOnError = false) : void

Set Azure values

Parameters
NameTypeDescription
$valuesarray
$throwOnErrorboolean

Throw Zend_Service_WindowsAzure_Exception when a property is not specified in $values?

Throws
ExceptionDescription
\Zend_Service_WindowsAzure_Exception
methodpublicsetEtag(string $value = '') : void

Set etag

Parameters
NameTypeDescription
$valuestring
methodpublicsetPartitionKey(string $value) : void

Set partition key

Parameters
NameTypeDescription
$valuestring
Details
Azure
PartitionKey  
methodpublicsetRowKey(string $value) : void

Set row key

Parameters
NameTypeDescription
$valuestring
Details
Azure
RowKey  
methodpublicsetTimestamp(\DateTime $value) : void

Set timestamp

Parameters
NameTypeDescription
$value\DateTime
Details
Azure
Timestamp Edm.DateTime  
Documentation was generated by phpDocumentor 2.2.0 .