PHPLinq_ILinqProvider
| 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
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
stringgetSource() : 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)
select(string $expression) : mixed
stringExpression which creates a resulting element
mixedsingle(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