GV\Join
The \GV\Join class.
Contains a join between two Sources on two Fields.
Source: future/includes/class-gv-form-join.php:14
Details
- Kind:
class - Namespace:
GV
Properties
| Property | Type | Description |
|---|---|---|
$join | GF_Form | Source | Form | |
$join_on | GF_Form | Source | Form | |
$join_column | Field | |
$join_on_column | Field |
Methods
| Method | Description |
|---|---|
__construct() | Construct a JOIN container. |
as_query_join() | Inject this join into the query. |
Method Reference
__construct()
public function __construct( $join, $join_column, $join_on, $join_on_column )
Construct a JOIN container.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$join | \GV\Source | The form we're joining to. | |
$join_column | \GV\Field | Its column. | |
$join_on | \GV\Source | The form we're joining on. | |
$join_on_column | \GV\Field | Its column. |
Source: future/includes/class-gv-form-join.php:46
as_query_join()
public function as_query_join( $query )
Inject this join into the query.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$query | \GF_Query | The \GF_Query instance. |
Returns
\GF_Query— The $query
Source: future/includes/class-gv-form-join.php:71