Elgg
Version 3.0
|
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) | |||||||
{Build an expression and/or apply it to an instance of query builder.
| |||||||
Public Attributes | |
$joined_table | |
$joined_alias | |
$condition | |
$join_type | |
Extends QueryBuilder with JOIN clauses.
Definition at line 12 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 42 of file JoinClause.php.
Elgg\Database\Clauses\JoinClause::prepare | ( | QueryBuilder | $qb, |
$table_alias = null |
|||
) |
{Build an expression and/or apply it to an instance of query builder.
QueryBuilder | $qb | Query builder |
string | $table_alias | Table alias |
Implements Elgg\Database\Clauses\Clause.
Definition at line 52 of file JoinClause.php.
Elgg\Database\Clauses\JoinClause::$condition |
Definition at line 27 of file JoinClause.php.
Elgg\Database\Clauses\JoinClause::$join_type |
Definition at line 32 of file JoinClause.php.
Elgg\Database\Clauses\JoinClause::$joined_alias |
Definition at line 22 of file JoinClause.php.
Elgg\Database\Clauses\JoinClause::$joined_table |
Definition at line 17 of file JoinClause.php.