Service/WindowsAzure/Storage/TableEntityQuery.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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service_WindowsAzure  
Subpackage
Storage  
Version
$Id$  

\Zend_Service_WindowsAzure_Storage_TableEntityQuery

Package: Zend_Service_WindowsAzure\Storage
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedstring $_from = ''
From
Default value''Details
Type
string
>VPropertyprotectedarray $_orderBy = array()
Order by
Default valuearray()Details
Type
array
>VPropertyprotectedstring $_partitionKey = null
Partition key
Default valuenullDetails
Type
string
>VPropertyprotectedstring $_rowKey = null
Row key
Default valuenullDetails
Type
string
>VPropertyprotectedint $_top = null
Top
Default valuenullDetails
Type
int
>VPropertyprotectedarray $_where = array()
Where
Default valuearray()Details
Type
array

Methods

methodpublic__toString() : string

__toString overload

Returns
TypeDescription
string
methodprotected_quoteInto(string $text, string | array $value = null) : string

Quotes a variable into a condition

Parameters
NameTypeDescription
$textstring

Condition, can contain question mark(s) (?) for parameter insertion.

$valuestring | array

Value(s) to insert in question mark (?) parameters.

Returns
TypeDescription
string
methodprotected_replaceOperators(string $text) : string

Replace operators

Parameters
NameTypeDescription
$textstring
Returns
TypeDescription
string
methodpublicandWhere(string $condition, string | array $value = null) : \Zend_Service_WindowsAzure_Storage_TableEntityQuery

Add where clause with AND condition

Parameters
NameTypeDescription
$conditionstring

Condition, can contain question mark(s) (?) for parameter insertion.

$valuestring | array

Value(s) to insert in question mark (?) parameters.

Returns
TypeDescription
\Zend_Service_WindowsAzure_Storage_TableEntityQuery
methodpublicassembleFrom(boolean $includeParentheses = true) : string

Assemble from

Parameters
NameTypeDescription
$includeParenthesesboolean

Include parentheses? ()

Returns
TypeDescription
string
methodpublicassembleQuery() : string

Assemble full query

Returns
TypeDescription
string
methodpublicassembleQueryString(boolean $urlEncode = false) : string

Assembles the query string

Parameters
NameTypeDescription
$urlEncodeboolean

Apply URL encoding to the query string

Returns
TypeDescription
string
methodpublicencodeQuery(string $query) : string
static

urlencode a query

Parameters
NameTypeDescription
$querystring

Query to encode

Returns
TypeDescription
stringEncoded query
methodpublicfrom(string $name) : \Zend_Service_WindowsAzure_Storage_TableEntityQuery

From clause

Parameters
NameTypeDescription
$namestring

Table name to select entities from

Returns
TypeDescription
\Zend_Service_WindowsAzure_Storage_TableEntityQuery
methodpublicorWhere(string $condition, string | array $value = null) : \Zend_Service_WindowsAzure_Storage_TableEntityQuery

Add where clause with OR condition

Parameters
NameTypeDescription
$conditionstring

Condition, can contain question mark(s) (?) for parameter insertion.

$valuestring | array

Value(s) to insert in question mark (?) parameters.

Returns
TypeDescription
\Zend_Service_WindowsAzure_Storage_TableEntityQuery
methodpublicorderBy(string $column, string $direction = 'asc') : \Zend_Service_WindowsAzure_Storage_TableEntityQuery

OrderBy clause

Parameters
NameTypeDescription
$columnstring

Column to sort by

$directionstring

Direction to sort (asc/desc)

Returns
TypeDescription
\Zend_Service_WindowsAzure_Storage_TableEntityQuery
methodpublictop(int $top = null) : \Zend_Service_WindowsAzure_Storage_TableEntityQuery

Top clause

Parameters
NameTypeDescription
$topint

Top to fetch

Returns
TypeDescription
\Zend_Service_WindowsAzure_Storage_TableEntityQuery
methodpublicwhere(string $condition, string | array $value = null, string $cond = '') : \Zend_Service_WindowsAzure_Storage_TableEntityQuery

Add where clause

Parameters
NameTypeDescription
$conditionstring

Condition, can contain question mark(s) (?) for parameter insertion.

$valuestring | array

Value(s) to insert in question mark (?) parameters.

$condstring

Condition for the clause (and/or/not)

Returns
TypeDescription
\Zend_Service_WindowsAzure_Storage_TableEntityQuery
methodpublicwherePartitionKey(string $value = null) : \Zend_Service_WindowsAzure_Storage_TableEntityQuery

Specify partition key

Parameters
NameTypeDescription
$valuestring

Partition key to query for

Returns
TypeDescription
\Zend_Service_WindowsAzure_Storage_TableEntityQuery
methodpublicwhereRowKey(string $value = null) : \Zend_Service_WindowsAzure_Storage_TableEntityQuery

Specify row key

Parameters
NameTypeDescription
$valuestring

Row key to query for

Returns
TypeDescription
\Zend_Service_WindowsAzure_Storage_TableEntityQuery
Documentation was generated by phpDocumentor 2.2.0 .