Service/WindowsAzure/Storage/DynamicTableEntity.php
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
- 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


string $_etag = ''
''
Details- Type
- string
- Inherited_from
- \Zend_Service_WindowsAzure_Storage_TableEntity::$$_etag


string $_partitionKey
- Type
- string
- Inherited_from
- \Zend_Service_WindowsAzure_Storage_TableEntity::$$_partitionKey


string $_rowKey
- Type
- string
- Inherited_from
- \Zend_Service_WindowsAzure_Storage_TableEntity::$$_rowKey


string $_timestamp
- Type
- string
- Inherited_from
- \Zend_Service_WindowsAzure_Storage_TableEntity::$$_timestamp
Methods


__construct(string $partitionKey = '', string $rowKey = '') : void
Name | Type | Description |
---|---|---|
$partitionKey | string | Partition key |
$rowKey | string | Row key |


__get(string $name) : void
Magic overload for getting properties
Name | Type | Description |
---|---|---|
$name | string | Name of the property |


__set(string $name, string $value) : void
Magic overload for setting properties
Name | Type | Description |
---|---|---|
$name | string | Name of the property |
$value | string | Value to set |


_convertToDateTime(string $value = '') : \DateTime | boolean
Converts a string to a DateTime object.
Inherited from: \Zend_Service_WindowsAzure_Storage_TableEntity::_convertToDateTime()Returns false on failure.
Name | Type | Description |
---|---|---|
$value | string | The string value to parse |
Type | Description |
---|---|
\DateTime | boolean |


getAzureAccessor(\ReflectionProperty | \ReflectionMethod $member) : object
Get Azure accessor from reflection member
Inherited from: \Zend_Service_WindowsAzure_Storage_TableEntity::getAzureAccessor()Name | Type | Description |
---|---|---|
$member | \ReflectionProperty | \ReflectionMethod |
Type | Description |
---|---|
object |


getAzureAccessors(string $className = '') : array
Get Azure accessors from class
Inherited from: \Zend_Service_WindowsAzure_Storage_TableEntity::getAzureAccessors()Name | Type | Description |
---|---|---|
$className | string | Class to get accessors for |
Type | Description |
---|---|
array |


getAzureProperty(string $name) : \Zend_Service_WindowsAzure_Storage_DynamicTableEntity
Get an Azure property
Name | Type | Description |
---|---|---|
$name | string | Property name |
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Storage_DynamicTableEntity |


getAzurePropertyType(string $name) : string
Get an Azure property type
Name | Type | Description |
---|---|---|
$name | string | Property name |
Type | Description |
---|---|
string | Property type (Edm.xxxx) |


getPartitionKey() : string
Get partition key
Inherited from: \Zend_Service_WindowsAzure_Storage_TableEntity::getPartitionKey()Type | Description |
---|---|
string |
- Azure
- PartitionKey


getTimestamp() : string
Get timestamp
Inherited from: \Zend_Service_WindowsAzure_Storage_TableEntity::getTimestamp()Type | Description |
---|---|
string |
- Azure
- Timestamp Edm.DateTime


setAzureProperty(string $name, mixed $value = '', string $type = null) : \Zend_Service_WindowsAzure_Storage_DynamicTableEntity
Set an Azure property
Name | Type | Description |
---|---|---|
$name | string | Property name |
$value | mixed | Property value |
$type | string | Property type (Edm.xxxx) |
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Storage_DynamicTableEntity |


setAzurePropertyType(string $name, string $type = 'Edm.String') : \Zend_Service_WindowsAzure_Storage_DynamicTableEntity
Set an Azure property type
Name | Type | Description |
---|---|---|
$name | string | Property name |
$type | string | Property type (Edm.xxxx) |
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Storage_DynamicTableEntity |


setAzureValues(array $values = array(), boolean $throwOnError = false) : void
Set Azure values
Name | Type | Description |
---|---|---|
$values | array | |
$throwOnError | boolean | Throw Zend_Service_WindowsAzure_Exception when a property is not specified in $values? |
Exception | Description |
---|---|
\Zend_Service_WindowsAzure_Exception |


setPartitionKey(string $value) : void
Set partition key
Inherited from: \Zend_Service_WindowsAzure_Storage_TableEntity::setPartitionKey()Name | Type | Description |
---|---|---|
$value | string |
- Azure
- PartitionKey


setTimestamp(\DateTime $value) : void
Set timestamp
Inherited from: \Zend_Service_WindowsAzure_Storage_TableEntity::setTimestamp()Name | Type | Description |
---|---|---|
$value | \DateTime |
- Azure
- Timestamp Edm.DateTime