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_ILinqProviderOptional parent PHPLinq_ILinqProvider instance, used with join conditions
__destruct()
__isDestructing() : bool
booladdChildProvider(\PHPLinq_ILinqProvider $provider)
\PHPLinq_ILinqProvider
aggregate(int $seed, string $expression) : mixed
Example: Equivalent of count(): $this->aggregate(0, '$s, $t => $s + 1');
intSeed
stringExpression defining the aggregate
mixedaggregateall(string $expression) : boolean
stringExpression checking if an all elements are contained
booleanany(string $expression) : boolean
stringExpression checking if an element is contained
booleanaverage() : mixed
mixedAverage of elementscontains(mixed $element) : boolean
mixedIs the $element contained?
booleancount() : int
intElement countelementAt(mixed $index) : mixed
mixedIndex
mixedElement at $indexelementAtOrDefault(mixed $index, mixed $defaultValue) : mixed
mixedIndex
mixedDefault value to return if nothing is found
mixedElement at $indexfirst(string $expression) : mixed
stringExpression which creates a resulting element
mixedfirstOrDefault(string $expression, mixed $defaultValue) : mixed
stringExpression which creates a resulting element
mixedDefault value to return if nothing is found
mixedgetFromName() : string
stringgetQueryCallback() : mixed
Function accepting a string to which query strings can be logged.
mixedgetSource() : mixed
mixedhandles(mixed $source) : bool
mixed
boollast(string $expression) : mixed
stringExpression which creates a resulting element
mixedlastOrDefault(string $expression, mixed $defaultValue) : mixed
stringExpression which creates a resulting element
mixedDefault value to return if nothing is found
mixedmax() : mixed
mixedMaximum of elementsmin() : mixed
mixedMinimum of elementsofType(string $type)
stringType name
orderBy(string $expression, string $comparer) : \PHPLinq_ILinqProvider
stringExpression to order elements by
stringComparer function (taking 2 arguments, returning -1, 0, 1)
orderByDescending(string $expression, string $comparer) : \PHPLinq_ILinqProvider
stringExpression to order elements by
stringComparer function (taking 2 arguments, returning -1, 0, 1)
reverse(bool $preserveKeys) : \PHPLinq_ILinqProvider
select(string $expression) : mixed
stringExpression which creates a resulting element
mixedsetQueryCallback(mixed $value)
Function accepting a string to which query strings can be logged.
mixed
single(string $expression) : mixed
stringExpression which creates a resulting element
mixedsingleOrDefault(string $expression, mixed $defaultValue) : mixed
stringExpression which creates a resulting element
mixedDefault value to return if nothing is found
mixedskipWhile(string $expression) : \PHPLinq_ILinqProvider
sum() : mixed
mixedSum of elementstakeWhile(string $expression) : \PHPLinq_ILinqProvider
thenBy(string $expression, string $comparer) : \PHPLinq_ILinqProvider
stringExpression to order elements by
stringComparer function (taking 2 arguments, returning -1, 0, 1)
thenByDescending(string $expression, string $comparer) : \PHPLinq_ILinqProvider
stringExpression to order elements by
stringComparer function (taking 2 arguments, returning -1, 0, 1)
where(string $expression) : \PHPLinq_ILinqProvider
stringExpression checking if an element should be contained
_convertToSql(string $phpCode) : string
stringCode 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