Zend Framework  1.12
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_Service_WindowsAzure_Storage_TableEntity Class Reference

Public Member Functions

 __construct ($partitionKey= '', $rowKey= '')
 Constructor.
 
 getPartitionKey ()
 Get partition key.
 
 setPartitionKey ($value)
 Set partition key.
 
 getRowKey ()
 Get row key.
 
 setRowKey ($value)
 Set row key.
 
 getTimestamp ()
 Get timestamp.
 
 setTimestamp (DateTime $value)
 Set timestamp.
 
 getEtag ()
 Get etag.
 
 setEtag ($value= '')
 Set etag.
 
 getAzureValues ()
 Get Azure values.
 
 setAzureValues ($values=array(), $throwOnError=false)
 Set Azure values.
 

Static Public Member Functions

static getAzureAccessors ($className= '')
 Get Azure accessors from class.
 
static getAzureAccessor ($member)
 Get Azure accessor from reflection member.
 

Protected Member Functions

 _convertToDateTime ($value= '')
 Converts a string to a DateTime object.
 

Protected Attributes

 $_partitionKey
 
 $_rowKey
 
 $_timestamp
 
 $_etag = ''
 

Constructor & Destructor Documentation

__construct (   $partitionKey = '',
  $rowKey = '' 
)

Constructor.

Parameters
string$partitionKeyPartition key
string$rowKeyRow key

Member Function Documentation

_convertToDateTime (   $value = '')
protected

Converts a string to a DateTime object.

Returns false on failure.

Parameters
string$valueThe string value to parse
Returns
DateTime|boolean
static getAzureAccessor (   $member)
static

Get Azure accessor from reflection member.

Parameters
ReflectionProperty | ReflectionMethod$member
Returns
object
static getAzureAccessors (   $className = '')
static

Get Azure accessors from class.

Parameters
string$classNameClass to get accessors for
Returns
array
getAzureValues ( )

Get Azure values.

Returns
array
getEtag ( )

Get etag.

Returns
string
getPartitionKey ( )

Get partition key.

PartitionKey

Returns
string
getRowKey ( )

Get row key.

RowKey

Returns
string
getTimestamp ( )

Get timestamp.

Timestamp Edm.DateTime

Returns
string
setAzureValues (   $values = array(),
  $throwOnError = false 
)

Set Azure values.

Parameters
array$values
boolean$throwOnErrorThrow Zend_Service_WindowsAzure_Exception when a property is not specified in $values?
Exceptions
Zend_Service_WindowsAzure_Exception
setEtag (   $value = '')

Set etag.

Parameters
string$value
setPartitionKey (   $value)

Set partition key.

PartitionKey

Parameters
string$value
setRowKey (   $value)

Set row key.

RowKey

Parameters
string$value
setTimestamp ( DateTime  $value)

Set timestamp.

Timestamp Edm.DateTime

Parameters
DateTime$value

Member Data Documentation

$_etag = ''
protected
$_partitionKey
protected
$_rowKey
protected
$_timestamp
protected