Service/WindowsAzure/Storage/DynamicTableEntity.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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service_WindowsAzure  
Subpackage
Storage  
Version
$Id: DynamicTableEntity.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Service_WindowsAzure_Storage_DynamicTableEntity

Package: Zend\Service\WindowsAzure\Storage
Parent(s)
\Zend_Service_WindowsAzure_Storage_TableEntity
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedarray $_dynamicProperties = array()
Dynamic properties
Default valuearray()Details
Type
array
>VPropertyprotectedstring $_etag = ''
Default value''Details
Type
string
Inherited_from
\Zend_Service_WindowsAzure_Storage_TableEntity::$$_etag  
>VPropertyprotectedstring $_partitionKey
>VPropertyprotectedstring $_rowKey
>VPropertyprotectedstring $_timestamp

Methods

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

Partition key

$rowKeystring

Row key

methodpublic__get(string $name) : void

Magic overload for getting properties

Parameters
NameTypeDescription
$namestring

Name of the property

methodpublic__set(string $name, string $value) : void

Magic overload for setting properties

Parameters
NameTypeDescription
$namestring

Name of the property

$valuestring

Value to set

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

Converts a string to a DateTime object.

Inherited from: \Zend_Service_WindowsAzure_Storage_TableEntity::_convertToDateTime()

Returns false on failure.

Parameters
NameTypeDescription
$valuestring

The string value to parse

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

Get Azure accessor from reflection member

Inherited from: \Zend_Service_WindowsAzure_Storage_TableEntity::getAzureAccessor()
Parameters
NameTypeDescription
$member\ReflectionProperty | \ReflectionMethod
Returns
TypeDescription
object
methodpublicgetAzureAccessors(string $className = '') : array
staticinherited

Get Azure accessors from class

Inherited from: \Zend_Service_WindowsAzure_Storage_TableEntity::getAzureAccessors()
Parameters
NameTypeDescription
$classNamestring

Class to get accessors for

Returns
TypeDescription
array
methodpublicgetAzureProperty(string $name) : \Zend_Service_WindowsAzure_Storage_DynamicTableEntity

Get an Azure property

Parameters
NameTypeDescription
$namestring

Property name

Returns
TypeDescription
\Zend_Service_WindowsAzure_Storage_DynamicTableEntity
methodpublicgetAzurePropertyType(string $name) : string

Get an Azure property type

Parameters
NameTypeDescription
$namestring

Property name

Returns
TypeDescription
stringProperty type (Edm.xxxx)
methodpublicgetAzureValues() : array

Get Azure values

Returns
TypeDescription
array
methodpublicgetEtag() : string
Returns
TypeDescription
string
methodpublicgetPartitionKey() : string
Returns
TypeDescription
string
Details
Azure
PartitionKey  
methodpublicgetRowKey() : string
Returns
TypeDescription
string
Details
Azure
RowKey  
methodpublicgetTimestamp() : string
Returns
TypeDescription
string
Details
Azure
Timestamp Edm.DateTime  
methodpublicsetAzureProperty(string $name, mixed $value = '', string $type = null) : \Zend_Service_WindowsAzure_Storage_DynamicTableEntity

Set an Azure property

Parameters
NameTypeDescription
$namestring

Property name

$valuemixed

Property value

$typestring

Property type (Edm.xxxx)

Returns
TypeDescription
\Zend_Service_WindowsAzure_Storage_DynamicTableEntity
methodpublicsetAzurePropertyType(string $name, string $type = 'Edm.String') : \Zend_Service_WindowsAzure_Storage_DynamicTableEntity

Set an Azure property type

Parameters
NameTypeDescription
$namestring

Property name

$typestring

Property type (Edm.xxxx)

Returns
TypeDescription
\Zend_Service_WindowsAzure_Storage_DynamicTableEntity
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
Parameters
NameTypeDescription
$valuestring
methodpublicsetPartitionKey(string $value) : void
Parameters
NameTypeDescription
$valuestring
Details
Azure
PartitionKey  
methodpublicsetRowKey(string $value) : void
Parameters
NameTypeDescription
$valuestring
Details
Azure
RowKey  
methodpublicsetTimestamp(\DateTime $value) : void
Parameters
NameTypeDescription
$value\DateTime
Details
Azure
Timestamp Edm.DateTime  
Documentation was generated by phpDocumentor 2.0.0a12.