Moodle  2.2.1
http://www.collinsharper.com
Zend_Service_WindowsAzure_Storage_TableEntityQuery Class Reference

Public Member Functions

 select ()
 from ($name)
 wherePartitionKey ($value=null)
 whereRowKey ($value=null)
 where ($condition, $value=null, $cond= '')
 andWhere ($condition, $value=null)
 orWhere ($condition, $value=null)
 orderBy ($column, $direction= 'asc')
 top ($top=null)
 assembleQueryString ($urlEncode=false)
 assembleFrom ($includeParentheses=true)
 assembleQuery ()
 __toString ()

Protected Member Functions

 _quoteInto ($text, $value=null)
 _replaceOperators ($text)

Protected Attributes

 $_from = ''
 $_where = array()
 $_orderBy = array()
 $_top = null
 $_partitionKey = null
 $_rowKey = null

Detailed Description

Definition at line 30 of file TableEntityQuery.php.


Member Function Documentation

__toString overload

Returns:
string

Definition at line 322 of file TableEntityQuery.php.

Here is the call graph for this function:

_quoteInto ( text,
value = null 
) [protected]

Quotes a variable into a condition

Parameters:
string$textCondition, can contain question mark(s) (?) for parameter insertion.
string | array$valueValue(s) to insert in question mark (?) parameters.
Returns:
string

Definition at line 278 of file TableEntityQuery.php.

Here is the caller graph for this function:

_replaceOperators ( text) [protected]

Replace operators

Parameters:
string$text
Returns:
string

Definition at line 301 of file TableEntityQuery.php.

Here is the caller graph for this function:

andWhere ( condition,
value = null 
)

Add where clause with AND condition

Parameters:
string$conditionCondition, can contain question mark(s) (?) for parameter insertion.
string | array$valueValue(s) to insert in question mark (?) parameters.
Returns:
Zend_Service_WindowsAzure_Storage_TableEntityQuery

Definition at line 153 of file TableEntityQuery.php.

Here is the call graph for this function:

assembleFrom ( includeParentheses = true)

Assemble from

Parameters:
boolean$includeParenthesesInclude parentheses? ()
Returns:
string

Definition at line 231 of file TableEntityQuery.php.

Here is the caller graph for this function:

Assemble full query

Returns:
string

Definition at line 259 of file TableEntityQuery.php.

Here is the call graph for this function:

Here is the caller graph for this function:

assembleQueryString ( urlEncode = false)

Assembles the query string

Parameters:
boolean$urlEncodeApply URL encoding to the query string
Returns:
string

Definition at line 201 of file TableEntityQuery.php.

Here is the caller graph for this function:

from ( name)

From clause

Parameters:
string$nameTable name to select entities from
Returns:
Zend_Service_WindowsAzure_Storage_TableEntityQuery

Definition at line 90 of file TableEntityQuery.php.

orderBy ( column,
direction = 'asc' 
)

OrderBy clause

Parameters:
string$columnColumn to sort by
string$directionDirection to sort (asc/desc)
Returns:
Zend_Service_WindowsAzure_Storage_TableEntityQuery

Definition at line 177 of file TableEntityQuery.php.

orWhere ( condition,
value = null 
)

Add where clause with OR condition

Parameters:
string$conditionCondition, can contain question mark(s) (?) for parameter insertion.
string | array$valueValue(s) to insert in question mark (?) parameters.
Returns:
Zend_Service_WindowsAzure_Storage_TableEntityQuery

Definition at line 165 of file TableEntityQuery.php.

Here is the call graph for this function:

select ( )

Select clause

Returns:
Zend_Service_WindowsAzure_Storage_TableEntityQuery

Definition at line 79 of file TableEntityQuery.php.

top ( top = null)

Top clause

Parameters:
int$topTop to fetch
Returns:
Zend_Service_WindowsAzure_Storage_TableEntityQuery

Definition at line 189 of file TableEntityQuery.php.

where ( condition,
value = null,
cond = '' 
)

Add where clause

Parameters:
string$conditionCondition, can contain question mark(s) (?) for parameter insertion.
string | array$valueValue(s) to insert in question mark (?) parameters.
string$condCondition for the clause (and/or/not)
Returns:
Zend_Service_WindowsAzure_Storage_TableEntityQuery

Definition at line 128 of file TableEntityQuery.php.

Here is the call graph for this function:

Here is the caller graph for this function:

wherePartitionKey ( value = null)

Specify partition key

Parameters:
string$valuePartition key to query for
Returns:
Zend_Service_WindowsAzure_Storage_TableEntityQuery

Definition at line 102 of file TableEntityQuery.php.

whereRowKey ( value = null)

Specify row key

Parameters:
string$valueRow key to query for
Returns:
Zend_Service_WindowsAzure_Storage_TableEntityQuery

Definition at line 114 of file TableEntityQuery.php.


Field Documentation

$_from = '' [protected]

Definition at line 37 of file TableEntityQuery.php.

$_orderBy = array() [protected]

Definition at line 51 of file TableEntityQuery.php.

$_partitionKey = null [protected]

Definition at line 65 of file TableEntityQuery.php.

$_rowKey = null [protected]

Definition at line 72 of file TableEntityQuery.php.

$_top = null [protected]

Definition at line 58 of file TableEntityQuery.php.

$_where = array() [protected]

Definition at line 44 of file TableEntityQuery.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations