GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
Public Member Functions | Data Fields
Join Class Reference

If this file is called directly, abort. More...

Public Member Functions

 __construct ( $join, $join_column, $join_on, $join_on_column)
 Construct a JOIN container. More...
 
 as_query_join ( $query)
 Inject this join into the query. More...
 

Data Fields

 $join
 
 $join_column
 
 $join_on
 
 $join_on_column
 

Detailed Description

If this file is called directly, abort.

The class.

Contains a join between two Sources on two Fields.

Definition at line 14 of file class-gv-form-join.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $join,
  $join_column,
  $join_on,
  $join_on_column 
)

Construct a JOIN container.

Parameters
\GV\Source$joinThe form we're joining to.
\GV\Field$join_columnIts column.
\GV\Source$join_onThe form we're joining on.
\GV\Field$join_on_columnIts column.

Definition at line 46 of file class-gv-form-join.php.

Member Function Documentation

◆ as_query_join()

as_query_join (   $query)

Inject this join into the query.

Parameters
\GF_Query$queryThe instance.
Returns
The $query

Definition at line 71 of file class-gv-form-join.php.

References gravityview().

Field Documentation

◆ $join

$join

Definition at line 20 of file class-gv-form-join.php.

◆ $join_column

$join_column

Definition at line 31 of file class-gv-form-join.php.

◆ $join_on

$join_on

Definition at line 26 of file class-gv-form-join.php.

◆ $join_on_column

$join_on_column

Definition at line 36 of file class-gv-form-join.php.


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