Service/WindowsAzure/Storage/DynamicTableEntity.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 [email protected] 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

Propertyprotectedarray $_dynamicProperties = array()

Dynamic properties

Default valuearray()Details
Type
array
Propertyprotectedstring $_etag = ''
Default value''Details
Type
string
Inherited_from
\Zend_Service_WindowsAzure_Storage_TableEntity::$$_etag  
Propertyprotectedstring $_partitionKey =
Propertyprotectedstring $_rowKey =
Details
Type
string
Inherited_from
\Zend_Service_WindowsAzure_Storage_TableEntity::$$_rowKey  
Propertyprotectedstring $_timestamp =
Details
Type
string
Inherited_from
\Zend_Service_WindowsAzure_Storage_TableEntity::$$_timestamp  

Methods

methodpublic__construct(string $partitionKey = '', string $rowKey = '') : void
Parameters
Name Type Description
$partitionKey string

Partition key

$rowKey string

Row key

methodpublic__get(string $name) : void

Magic overload for getting properties

Parameters
Name Type Description
$name string

Name of the property

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

Magic overload for setting properties

Parameters
Name Type Description
$name string

Name of the property

$value string

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
Name Type Description
$value string

The string value to parse

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

Get Azure accessor from reflection member

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

Get Azure accessors from class

Inherited from: \Zend_Service_WindowsAzure_Storage_TableEntity::getAzureAccessors()
Parameters
Name Type Description
$className string

Class to get accessors for

Returns
Type Description
array
methodpublicgetAzureProperty(string $name) : \Zend_Service_WindowsAzure_Storage_DynamicTableEntity

Get an Azure property

Parameters
Name Type Description
$name string

Property name

Returns
Type Description
\Zend_Service_WindowsAzure_Storage_DynamicTableEntity
methodpublicgetAzurePropertyType(string $name) : string

Get an Azure property type

Parameters
Name Type Description
$name string

Property name

Returns
Type Description
string Property type (Edm.xxxx)
methodpublicgetAzureValues() : array

Get Azure values

Returns
Type Description
array
methodpublicgetEtag() : string
Returns
Type Description
string
methodpublicgetPartitionKey() : string
inherited

Get partition key

Inherited from: \Zend_Service_WindowsAzure_Storage_TableEntity::getPartitionKey()
Returns
Type Description
string
Details
Azure
PartitionKey  
methodpublicgetRowKey() : string
Returns
Type Description
string
Details
Azure
RowKey  
methodpublicgetTimestamp() : string
Returns
Type Description
string
Details
Azure
Timestamp Edm.DateTime  
methodpublicsetAzureProperty(string $name, mixed $value = '', string $type = null) : \Zend_Service_WindowsAzure_Storage_DynamicTableEntity

Set an Azure property

Parameters
Name Type Description
$name string

Property name

$value mixed

Property value

$type string

Property type (Edm.xxxx)

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

Set an Azure property type

Parameters
Name Type Description
$name string

Property name

$type string

Property type (Edm.xxxx)

Returns
Type Description
\Zend_Service_WindowsAzure_Storage_DynamicTableEntity
methodpublicsetAzureValues(array $values = array(), boolean $throwOnError = false) : void

Set Azure values

Parameters
Name Type Description
$values array
$throwOnError boolean

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

Throws
Exception Description
\Zend_Service_WindowsAzure_Exception
methodpublicsetEtag(string $value = '') : void
Parameters
Name Type Description
$value string
methodpublicsetPartitionKey(string $value) : void
inherited

Set partition key

Inherited from: \Zend_Service_WindowsAzure_Storage_TableEntity::setPartitionKey()
Parameters
Name Type Description
$value string
Details
Azure
PartitionKey  
methodpublicsetRowKey(string $value) : void
Parameters
Name Type Description
$value string
Details
Azure
RowKey  
methodpublicsetTimestamp(\DateTime $value) : void
Parameters
Name Type Description
$value \DateTime
Details
Azure
Timestamp Edm.DateTime  
Documentation was generated by phpDocumentor 2.0.0a8.