Elgg  Version 6.1
Public Member Functions | List of all members
Elgg\Database\QueryOptions Class Reference
Inheritance diagram for Elgg\Database\QueryOptions:

Public Member Functions

 __construct ($input=[], $flags=0, $iterator_class= 'ArrayIterator')
 {} More...
 
 __get ($name)
 {} More...
 
 __set ($name, $value)
 {} More...
 
 __unset ($name)
 {} More...
 
 __isset ($name)
 {} More...
 
 distinct ($distinct=true)
 Return DISTINCT rows. More...
 
 where (WhereClause $clause)
 Add where statement. More...
 
 select (SelectClause $clause)
 Add a select statement. More...
 
 join (JoinClause $clause)
 Add a join callback. More...
 
 groupBy (GroupByClause $clause)
 Add group by statement. More...
 
 having (HavingClause $clause)
 Add having statement. More...
 
 orderBy (OrderByClause $clause)
 Add order by statement. More...
 

Detailed Description

Definition at line 68 of file QueryOptions.php.

Constructor & Destructor Documentation

Elgg\Database\QueryOptions::__construct (   $input = [],
  $flags = 0,
  $iterator_class = 'ArrayIterator' 
)

{}

Definition at line 75 of file QueryOptions.php.

Member Function Documentation

Elgg\Database\QueryOptions::__get (   $name)

{}

Definition at line 83 of file QueryOptions.php.

Elgg\Database\QueryOptions::__isset (   $name)

{}

Definition at line 106 of file QueryOptions.php.

Elgg\Database\QueryOptions::__set (   $name,
  $value 
)

{}

Definition at line 92 of file QueryOptions.php.

Elgg\Database\QueryOptions::__unset (   $name)

{}

Definition at line 99 of file QueryOptions.php.

Elgg\Database\QueryOptions::distinct (   $distinct = true)

Return DISTINCT rows.

Parameters
bool$distinctDistinct
Returns
static

Definition at line 117 of file QueryOptions.php.

Elgg\Database\QueryOptions::groupBy ( GroupByClause  $clause)

Add group by statement.

Parameters
GroupByClause$clauseClause
Returns
static

Definition at line 169 of file QueryOptions.php.

Elgg\Database\QueryOptions::having ( HavingClause  $clause)

Add having statement.

Parameters
HavingClause$clauseClause
Returns
static

Definition at line 182 of file QueryOptions.php.

Elgg\Database\QueryOptions::join ( JoinClause  $clause)

Add a join callback.

Parameters
JoinClause$clauseClause
Returns
static

Definition at line 156 of file QueryOptions.php.

Elgg\Database\QueryOptions::orderBy ( OrderByClause  $clause)

Add order by statement.

Parameters
OrderByClause$clauseClause
Returns
static

Definition at line 195 of file QueryOptions.php.

Elgg\Database\QueryOptions::select ( SelectClause  $clause)

Add a select statement.

Parameters
SelectClause$clauseClause
Returns
$this

Definition at line 143 of file QueryOptions.php.

Elgg\Database\QueryOptions::where ( WhereClause  $clause)

Add where statement.

Parameters
WhereClause$clauseClause
Returns
static

Definition at line 130 of file QueryOptions.php.


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