Zend Framework
1.12
|
Public Member Functions | |
select () | |
Select clause. | |
from ($name) | |
From clause. | |
wherePartitionKey ($value=null) | |
Specify partition key. | |
whereRowKey ($value=null) | |
Specify row key. | |
where ($condition, $value=null, $cond= '') | |
Add where clause. | |
andWhere ($condition, $value=null) | |
Add where clause with AND condition. | |
orWhere ($condition, $value=null) | |
Add where clause with OR condition. | |
orderBy ($column, $direction= 'asc') | |
OrderBy clause. | |
top ($top=null) | |
Top clause. | |
assembleQueryString ($urlEncode=false) | |
Assembles the query string. | |
assembleFrom ($includeParentheses=true) | |
Assemble from. | |
assembleQuery () | |
Assemble full query. | |
__toString () | |
__toString overload | |
Static Public Member Functions | |
static | encodeQuery ($query) |
urlencode a query | |
Protected Member Functions | |
_quoteInto ($text, $value=null) | |
Quotes a variable into a condition. | |
_replaceOperators ($text) | |
Replace operators. | |
Protected Attributes | |
$_from = '' | |
$_where = array() | |
$_orderBy = array() | |
$_top = null | |
$_partitionKey = null | |
$_rowKey = null | |
__toString | ( | ) |
__toString overload
|
protected |
Quotes a variable into a condition.
string | $text | Condition, can contain question mark(s) (?) for parameter insertion. |
string | array | $value | Value(s) to insert in question mark (?) parameters. |
|
protected |
Replace operators.
string | $text |
andWhere | ( | $condition, | |
$value = null |
|||
) |
Add where clause with AND condition.
string | $condition | Condition, can contain question mark(s) (?) for parameter insertion. |
string | array | $value | Value(s) to insert in question mark (?) parameters. |
assembleFrom | ( | $includeParentheses = true | ) |
Assemble from.
boolean | $includeParentheses | Include parentheses? () |
assembleQuery | ( | ) |
Assemble full query.
assembleQueryString | ( | $urlEncode = false | ) |
Assembles the query string.
boolean | $urlEncode | Apply URL encoding to the query string |
|
static |
urlencode a query
string | $query | Query to encode |
from | ( | $name | ) |
From clause.
string | $name | Table name to select entities from |
orderBy | ( | $column, | |
$direction = 'asc' |
|||
) |
OrderBy clause.
string | $column | Column to sort by |
string | $direction | Direction to sort (asc/desc) |
orWhere | ( | $condition, | |
$value = null |
|||
) |
Add where clause with OR condition.
string | $condition | Condition, can contain question mark(s) (?) for parameter insertion. |
string | array | $value | Value(s) to insert in question mark (?) parameters. |
select | ( | ) |
Select clause.
top | ( | $top = null | ) |
Top clause.
int | $top | Top to fetch |
where | ( | $condition, | |
$value = null , |
|||
$cond = '' |
|||
) |
Add where clause.
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) |
wherePartitionKey | ( | $value = null | ) |
Specify partition key.
string | $value | Partition key to query for |
whereRowKey | ( | $value = null | ) |
Specify row key.
string | $value | Row key to query for |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |