Interface that allows resolving statements and/or extending query builder.
More...
Interface that allows resolving statements and/or extending query builder.
Definition at line 14 of file Clause.php.
Elgg\Database\Clauses\Clause::call |
( |
|
$callback, |
|
|
QueryBuilder |
$qb, |
|
|
|
$table_alias = null |
|
) |
| |
|
protected |
Call the expression for the clause.
- Parameters
-
mixed | $callback | the clause callable expression |
QueryBuilder | $qb | the current query builder |
string | $table_alias | the main table alias |
- Returns
- false|mixed
Definition at line 48 of file Clause.php.
Elgg\Database\Clauses\Clause::callJoin |
( |
|
$callback, |
|
|
QueryBuilder |
$qb, |
|
|
|
$joined_alias, |
|
|
|
$table_alias = null |
|
) |
| |
|
protected |
Call the expression for a join clause.
- Parameters
-
mixed | $callback | the clause callable expression |
QueryBuilder | $qb | the current query builder |
string | $joined_alias | the joined table alias |
string | $table_alias | the main table alias |
- Returns
- false|mixed
Definition at line 72 of file Clause.php.
Elgg\Database\Clauses\Clause::isCallable |
( |
|
$callback | ) |
|
|
protected |
Check if a clause expression is callable.
- Parameters
-
mixed | $callback | the clause callable expression |
- Returns
- bool
Definition at line 35 of file Clause.php.
Elgg\Database\Clauses\Clause::prepare |
( |
QueryBuilder |
$qb, |
|
|
|
$table_alias = null |
|
) |
| |
|
abstract |
Build an expression and/or apply it to an instance of query builder.
- Parameters
-
- Returns
- CompositeExpression|null|string
The documentation for this class was generated from the following file: