Microsoft_WindowsAzure
[ class tree: Microsoft_WindowsAzure ] [ index: Microsoft_WindowsAzure ] [ all elements ]

Class: Microsoft_WindowsAzure_Storage_TableEntityQuery

Source Location: /WindowsAzure/Storage/TableEntityQuery.php

Class Overview




Author(s):

Copyright:

  • Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)

Variables

Methods



Class Details

[line 43]


Tags:

copyright:  Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)
license:  http://phpazure.codeplex.com/license


[ Top ]


Class Variables

$_from =  ''

[line 50]

From



Tags:

access:  protected

Type:   string


[ Top ]

$_orderBy = array()

[line 64]

Order by



Tags:

access:  protected

Type:   array


[ Top ]

$_partitionKey =  null

[line 78]

Partition key



Tags:

access:  protected

Type:   string


[ Top ]

$_rowKey =  null

[line 85]

Row key



Tags:

access:  protected

Type:   string


[ Top ]

$_top =  null

[line 71]

Top



Tags:

access:  protected

Type:   int


[ Top ]

$_where = array()

[line 57]

Where



Tags:

access:  protected

Type:   array


[ Top ]



Class Methods


static method encodeQuery [line 336]

static string encodeQuery( string $query)

urlencode a query



Tags:

return:  Encoded query
access:  public


Parameters:

string   $query   Query to encode

[ Top ]

method andWhere [line 166]

Microsoft_WindowsAzure_Storage_TableEntityQuery andWhere( string $condition, [string|array $value = null])

Add where clause with AND condition



Tags:

access:  public


Parameters:

string   $condition   Condition, can contain question mark(s) (?) for parameter insertion.
string|array   $value   Value(s) to insert in question mark (?) parameters.

[ Top ]

method assembleFrom [line 244]

string assembleFrom( [boolean $includeParentheses = true])

Assemble from



Tags:

access:  public


Parameters:

boolean   $includeParentheses   Include parentheses? ()

[ Top ]

method assembleQuery [line 272]

string assembleQuery( )

Assemble full query



Tags:

access:  public


[ Top ]

method assembleQueryString [line 214]

string assembleQueryString( [boolean $urlEncode = false])

Assembles the query string



Tags:

access:  public


Parameters:

boolean   $urlEncode   Apply URL encoding to the query string

[ Top ]

method from [line 103]

Microsoft_WindowsAzure_Storage_TableEntityQuery from( string $name)

From clause



Tags:

access:  public


Parameters:

string   $name   Table name to select entities from

[ Top ]

method orderBy [line 190]

Microsoft_WindowsAzure_Storage_TableEntityQuery orderBy( string $column, [string $direction = 'asc'])

OrderBy clause



Tags:

access:  public


Parameters:

string   $column   Column to sort by
string   $direction   Direction to sort (asc/desc)

[ Top ]

method orWhere [line 178]

Microsoft_WindowsAzure_Storage_TableEntityQuery orWhere( string $condition, [string|array $value = null])

Add where clause with OR condition



Tags:

access:  public


Parameters:

string   $condition   Condition, can contain question mark(s) (?) for parameter insertion.
string|array   $value   Value(s) to insert in question mark (?) parameters.

[ Top ]

method select [line 92]

Microsoft_WindowsAzure_Storage_TableEntityQuery select( )

Select clause



Tags:

access:  public


[ Top ]

method top [line 202]

Microsoft_WindowsAzure_Storage_TableEntityQuery top( [int $top = null])

Top clause



Tags:

access:  public


Parameters:

int   $top   Top to fetch

[ Top ]

method where [line 141]

Microsoft_WindowsAzure_Storage_TableEntityQuery where( string $condition, [string|array $value = null], [string $cond = ''])

Add where clause



Tags:

access:  public


Parameters:

string   $condition   Condition, can contain question mark(s) (?) for parameter insertion.
string|array   $value   Value(s) to insert in question mark (?) parameters.
string   $cond   Condition for the clause (and/or/not)

[ Top ]

method wherePartitionKey [line 115]

Microsoft_WindowsAzure_Storage_TableEntityQuery wherePartitionKey( [string $value = null])

Specify partition key



Tags:

access:  public


Parameters:

string   $value   Partition key to query for

[ Top ]

method whereRowKey [line 127]

Microsoft_WindowsAzure_Storage_TableEntityQuery whereRowKey( [string $value = null])

Specify row key



Tags:

access:  public


Parameters:

string   $value   Row key to query for

[ Top ]

method _quoteInto [line 291]

string _quoteInto( string $text, [string|array $value = null])

Quotes a variable into a condition



Tags:

access:  protected


Parameters:

string   $text   Condition, can contain question mark(s) (?) for parameter insertion.
string|array   $value   Value(s) to insert in question mark (?) parameters.

[ Top ]

method _replaceOperators [line 314]

string _replaceOperators( string $text)

Replace operators



Tags:

access:  protected


Parameters:

string   $text  

[ Top ]

method __toString [line 360]

string __toString( )

__toString overload



Tags:

access:  public


[ Top ]


Documentation generated on Wed, 18 May 2011 12:07:00 +0200 by phpDocumentor 1.4.3