Elgg  Version 3.0
Public Member Functions | Public Attributes | List of all members
Elgg\Database\Clauses\GroupByClause Class Reference

Extends QueryBuilder with GROUP BY statements. More...

Inheritance diagram for Elgg\Database\Clauses\GroupByClause:
Elgg\Database\Clauses\Clause

Public Member Functions

 __construct ($expr)
 Constructor. More...
 
 prepare (QueryBuilder $qb, $table_alias=null)
 {Build an expression and/or apply it to an instance of query builder.
Parameters
QueryBuilder$qbQuery builder
string$table_aliasTable alias
Returns
CompositeExpression|null|string
} More...
 

Public Attributes

 $expr
 

Detailed Description

Extends QueryBuilder with GROUP BY statements.

Definition at line 12 of file GroupByClause.php.

Constructor & Destructor Documentation

Elgg\Database\Clauses\GroupByClause::__construct (   $expr)

Constructor.

Parameters
CompositeExpression | Closure | string$exprExpression

Definition at line 24 of file GroupByClause.php.

Member Function Documentation

Elgg\Database\Clauses\GroupByClause::prepare ( QueryBuilder  $qb,
  $table_alias = null 
)

{Build an expression and/or apply it to an instance of query builder.

Parameters
QueryBuilder$qbQuery builder
string$table_aliasTable alias
Returns
CompositeExpression|null|string
}

Implements Elgg\Database\Clauses\Clause.

Definition at line 31 of file GroupByClause.php.

Member Data Documentation

Elgg\Database\Clauses\GroupByClause::$expr

Definition at line 17 of file GroupByClause.php.


The documentation for this class was generated from the following file: