Elgg
Version master
|
Extends QueryBuilder with JOIN clauses. More...
Public Member Functions | |
__construct ($joined_table, $joined_alias=null, $condition=null, $join_type= 'inner') | |
Constructor. More... | |
prepare (QueryBuilder $qb, $table_alias=null) | |
{} More... | |
Public Member Functions inherited from Elgg\Database\Clauses\Clause | |
prepare (QueryBuilder $qb, $table_alias=null) | |
Build an expression and/or apply it to an instance of query builder. More... | |
Public Attributes | |
$joined_table | |
$joined_alias | |
$condition | |
$join_type | |
Additional Inherited Members | |
Protected Member Functions inherited from Elgg\Database\Clauses\Clause | |
isCallable ($callback) | |
Check if a clause expression is callable. More... | |
call ($callback, QueryBuilder $qb, $table_alias=null) | |
Call the expression for the clause. More... | |
callJoin ($callback, QueryBuilder $qb, $joined_alias, $table_alias=null) | |
Call the expression for a join clause. More... | |
Extends QueryBuilder with JOIN clauses.
Definition at line 11 of file JoinClause.php.
Elgg\Database\Clauses\JoinClause::__construct | ( | $joined_table, | |
$joined_alias = null , |
|||
$condition = null , |
|||
$join_type = 'inner' |
|||
) |
Constructor.
string | $joined_table | Table to join |
string | $joined_alias | Alias of the joined table |
CompositeExpression | \Closure | string | $condition | On expression |
string | $join_type | Join type INNER|LEFT|RIGHT |
Definition at line 41 of file JoinClause.php.
Elgg\Database\Clauses\JoinClause::prepare | ( | QueryBuilder | $qb, |
$table_alias = null |
|||
) |
{}
Definition at line 51 of file JoinClause.php.
Elgg\Database\Clauses\JoinClause::$condition |
Definition at line 26 of file JoinClause.php.
Elgg\Database\Clauses\JoinClause::$join_type |
Definition at line 31 of file JoinClause.php.
Elgg\Database\Clauses\JoinClause::$joined_alias |
Definition at line 21 of file JoinClause.php.
Elgg\Database\Clauses\JoinClause::$joined_table |
Definition at line 16 of file JoinClause.php.