PHP Class Storm\Core\Relational\Criterion

Author: Elliot Levin ([email protected])
Afficher le fichier Open project: timetoogo/penumbra Class Usage Examples

Méthodes publiques

Méthode Description
AddGroupByExpression ( Expression $Expression )
AddOrderByExpression ( Expression $Expression, $Ascending )
AddPredicateExpression ( Expression $PredicateExpression )
AddTable ( Storm\Core\Relational\ITable $Table ) : void Add a table to the criterion.
AddTables ( array $Tables ) : void Add an array of tables to the criterion
GetGroupByExpressions ( ) : Expression[]
GetOrderedExpressionsAscendingMap ( ) : SplObjectStorage
GetPredicateExpressions ( ) : Expression[]
GetRangeAmount ( ) : integer | null
GetRangeOffset ( ) : integer
GetTables ( ) : Storm\Core\Relational\ITable[]
IsConstrained ( ) : boolean
IsGrouped ( ) : boolean
IsOrdered ( ) : boolean
IsRanged ( ) : boolean
SetRangeAmount ( type $RangeAmount ) Set the range amount.
SetRangeOffset ( integer $RangeOffset ) Set the range offset.
__construct ( )

Method Details

AddGroupByExpression() final public méthode

final public AddGroupByExpression ( Expression $Expression )
$Expression Storm\Core\Relational\Expressions\Expression

AddOrderByExpression() final public méthode

final public AddOrderByExpression ( Expression $Expression, $Ascending )
$Expression Storm\Core\Relational\Expressions\Expression

AddPredicateExpression() final public méthode

final public AddPredicateExpression ( Expression $PredicateExpression )
$PredicateExpression Storm\Core\Relational\Expressions\Expression

AddTable() final public méthode

Add a table to the criterion.
final public AddTable ( Storm\Core\Relational\ITable $Table ) : void
$Table Storm\Core\Relational\ITable The table to add
Résultat void

AddTables() final public méthode

Add an array of tables to the criterion
final public AddTables ( array $Tables ) : void
$Tables array The tables to add
Résultat void

GetGroupByExpressions() final public méthode

final public GetGroupByExpressions ( ) : Expression[]
Résultat Storm\Core\Relational\Expressions\Expression[]

GetOrderedExpressionsAscendingMap() final public méthode

final public GetOrderedExpressionsAscendingMap ( ) : SplObjectStorage
Résultat SplObjectStorage

GetPredicateExpressions() final public méthode

final public GetPredicateExpressions ( ) : Expression[]
Résultat Storm\Core\Relational\Expressions\Expression[]

GetRangeAmount() final public méthode

final public GetRangeAmount ( ) : integer | null
Résultat integer | null

GetRangeOffset() final public méthode

final public GetRangeOffset ( ) : integer
Résultat integer

GetTables() final public méthode

final public GetTables ( ) : Storm\Core\Relational\ITable[]
Résultat Storm\Core\Relational\ITable[]

IsConstrained() final public méthode

final public IsConstrained ( ) : boolean
Résultat boolean

IsGrouped() final public méthode

final public IsGrouped ( ) : boolean
Résultat boolean

IsOrdered() final public méthode

final public IsOrdered ( ) : boolean
Résultat boolean

IsRanged() final public méthode

final public IsRanged ( ) : boolean
Résultat boolean

SetRangeAmount() final public méthode

Set the range amount.
final public SetRangeAmount ( type $RangeAmount )
$RangeAmount type Specify null to remove the limit

SetRangeOffset() final public méthode

Set the range offset.
final public SetRangeOffset ( integer $RangeOffset )
$RangeOffset integer

__construct() public méthode

public __construct ( )