PHPLinq_LinqToZendDb
category | PHPLinq |
---|---|
package | PHPLinq |
copyright | Copyright (c) 2008 - 2009 PHPLinq (http://www.codeplex.com/PHPLinq) |
__construct(string $name, \PHPLinq_ILinqProvider $parentProvider) : \PHPLinq_ILinqProvider
string
\PHPLinq_ILinqProvider
Optional parent PHPLinq_ILinqProvider instance, used with join conditions
__destruct()
__isDestructing() : bool
bool
addChildProvider(\PHPLinq_ILinqProvider $provider)
\PHPLinq_ILinqProvider
aggregate(int $seed, string $expression) : mixed
Example: Equivalent of count(): $this->aggregate(0, '$s, $t => $s + 1');
int
Seed
string
Expression defining the aggregate
mixed
aggregateall(string $expression) : boolean
string
Expression checking if an all elements are contained
boolean
any(string $expression) : boolean
string
Expression checking if an element is contained
boolean
average() : mixed
mixed
Average of elementscontains(mixed $element) : boolean
mixed
Is the $element contained?
boolean
count() : int
int
Element countelementAt(mixed $index) : mixed
mixed
Index
mixed
Element at $indexelementAtOrDefault(mixed $index, mixed $defaultValue) : mixed
mixed
Index
mixed
Default value to return if nothing is found
mixed
Element at $indexfirst(string $expression) : mixed
string
Expression which creates a resulting element
mixed
firstOrDefault(string $expression, mixed $defaultValue) : mixed
string
Expression which creates a resulting element
mixed
Default value to return if nothing is found
mixed
getFromName() : string
string
getQueryCallback() : mixed
Function accepting a string to which query strings can be logged.
mixed
getSource() : mixed
mixed
handles(mixed $source) : bool
mixed
bool
last(string $expression) : mixed
string
Expression which creates a resulting element
mixed
lastOrDefault(string $expression, mixed $defaultValue) : mixed
string
Expression which creates a resulting element
mixed
Default value to return if nothing is found
mixed
max() : mixed
mixed
Maximum of elementsmin() : mixed
mixed
Minimum of elementsofType(string $type)
string
Type name
orderBy(string $expression, string $comparer) : \PHPLinq_ILinqProvider
string
Expression to order elements by
string
Comparer function (taking 2 arguments, returning -1, 0, 1)
orderByDescending(string $expression, string $comparer) : \PHPLinq_ILinqProvider
string
Expression to order elements by
string
Comparer function (taking 2 arguments, returning -1, 0, 1)
reverse(bool $preserveKeys) : \PHPLinq_ILinqProvider
select(string $expression) : mixed
string
Expression which creates a resulting element
mixed
setQueryCallback(mixed $value)
Function accepting a string to which query strings can be logged.
mixed
single(string $expression) : mixed
string
Expression which creates a resulting element
mixed
singleOrDefault(string $expression, mixed $defaultValue) : mixed
string
Expression which creates a resulting element
mixed
Default value to return if nothing is found
mixed
skipWhile(string $expression) : \PHPLinq_ILinqProvider
sum() : mixed
mixed
Sum of elementstakeWhile(string $expression) : \PHPLinq_ILinqProvider
thenBy(string $expression, string $comparer) : \PHPLinq_ILinqProvider
string
Expression to order elements by
string
Comparer function (taking 2 arguments, returning -1, 0, 1)
thenByDescending(string $expression, string $comparer) : \PHPLinq_ILinqProvider
string
Expression to order elements by
string
Comparer function (taking 2 arguments, returning -1, 0, 1)
where(string $expression) : \PHPLinq_ILinqProvider
string
Expression checking if an element should be contained
_convertToSql(string $phpCode) : string
string
Code to convert
string
$_adapter : \PHPLinq_Adapter_Abstract
$_childProviders : \PHPLinq_ILinqProvider[]
$_columns : string
$_data : mixed
$_distinct : \PHPLinq_Expression
$_from : string
$_internalFunctions : array
$_isDestructing : bool
$_joinCondition : \PHPLinq_Expression
$_ofType : \PHPLinq_Expression
$_orderBy : \PHPLinq_Expression[]
$_parentProvider : \PHPLinq_ILinqProvider
$_queryCallback : mixed
Function accepting a string to which query strings can be logged.
$_skip : \int?
$_skipWhile : \PHPLinq_Expression
$_take : \int?
$_takeWhile : \PHPLinq_Expression
$_where : \PHPLinq_Expression
T_ARGUMENT
T_ARITHMETIC
T_CONSTANT
T_DEFAULT
T_FUNCTION
T_OBJECT_OPERATOR
T_OPERAND
T_OPERATOR
T_PROPERTY
T_SIMPLE
T_START_STOP
T_VARIABLE