GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
If this file is called directly, abort. More...
Public Member Functions | |
__get ( $key) | |
Proxies. More... | |
get_entries () | |
Get all entries for this form. More... | |
get_fields () | |
Get an array of GV Fields for this data source. More... | |
offsetExists ( $offset) | |
ArrayAccess compatibility layer with a Gravity Forms form array. More... | |
offsetGet ( $offset) | |
ArrayAccess compatibility layer with a Gravity Forms form array. More... | |
offsetSet ( $offset, $value) | |
ArrayAccess compatibility layer with a Gravity Forms form array. More... | |
offsetUnset ( $offset) | |
ArrayAccess compatibility layer with a Gravity Forms form array. More... | |
Public Member Functions inherited from Form | |
__get ( $key) | |
Magic shortcuts. More... | |
get_entries () | |
Get all entries for this form. More... | |
Static Public Member Functions | |
static | by_id ( $form_id) |
Construct a instance by ID. More... | |
static | from_form ( $form) |
Construct a instance from a Gravity Forms form array. More... | |
static | get_field () |
Get a by Form and Field ID for this data source. More... | |
Static Public Member Functions inherited from Form | |
static | by_id ( $form_id) |
Construct a instance by ID. More... | |
Static Public Member Functions inherited from Source | |
static | get_field () |
Get a instance by ID. More... | |
Static Public Attributes | |
static | $backend = self::BACKEND_GRAVITYFORMS |
Static Public Attributes inherited from Source | |
static | $backend = null |
Private Member Functions | |
__construct () | |
Initialization. More... | |
Additional Inherited Members | |
Data Fields inherited from Form | |
$ID = null | |
Data Fields inherited from Source | |
const | BACKEND_GRAVITYFORMS = 'gravityforms' |
const | BACKEND_INTERNAL = 'internal' |
If this file is called directly, abort.
The Gravity Forms Form class implementation.
Accessible as an array for back-compatibility.
Definition at line 14 of file class-gv-form-gravityforms.php.
|
private |
Initialization.
Definition at line 26 of file class-gv-form-gravityforms.php.
References gravityview().
__get | ( | $key | ) |
Proxies.
string | $key | The property to get. |
Definition at line 201 of file class-gv-form-gravityforms.php.
|
static |
Construct a instance by ID.
int | string | $form_id | The internal form ID. |
Definition at line 41 of file class-gv-form-gravityforms.php.
References GV\$form, $form_id, and $forms.
Referenced by GV\Mocks\GravityView_API_field_label(), GV\Mocks\GravityView_API_field_value(), GV\Mocks\GravityView_frontend_get_view_entries(), GravityView_Admin_Views\set_default_view_fields(), Entry_Table_Template\the_entry(), and Entry_List_Template\the_field().
|
static |
Construct a instance from a Gravity Forms form array.
array | $form | The form array |
Definition at line 70 of file class-gv-form-gravityforms.php.
References GV\$form.
get_entries | ( | ) |
Get all entries for this form.
Add the fetcher lazy callback.
Apply the filters
Apply the sorts
Gravity Forms does not have multi-sorting, so just overwrite.
The offset and limit
Add the counter lazy callback.
Apply the filters
| $filter
Definition at line 90 of file class-gv-form-gravityforms.php.
|
static |
Get a by Form and Field ID for this data source.
\GV\GF_Form | $form | The Gravity Form form ID. |
int | $field_id | The Gravity Form field ID for the $form_id. |
Unwrap the arguments.
Wrap it up into a .
Definition at line 159 of file class-gv-form-gravityforms.php.
References $args, $field_id, GV\$form, and gravityview().
get_fields | ( | ) |
Get an array of GV Fields for this data source.
Definition at line 179 of file class-gv-form-gravityforms.php.
References $field.
offsetExists | ( | $offset | ) |
ArrayAccess compatibility layer with a Gravity Forms form array.
Definition at line 219 of file class-gv-form-gravityforms.php.
offsetGet | ( | $offset | ) |
ArrayAccess compatibility layer with a Gravity Forms form array.
Maps the old keys to the new data;
Definition at line 235 of file class-gv-form-gravityforms.php.
offsetSet | ( | $offset, | |
$value | |||
) |
ArrayAccess compatibility layer with a Gravity Forms form array.
Definition at line 249 of file class-gv-form-gravityforms.php.
References gravityview().
offsetUnset | ( | $offset | ) |
ArrayAccess compatibility layer with a Gravity Forms form array.
Definition at line 262 of file class-gv-form-gravityforms.php.
References gravityview().
|
static |
Definition at line 21 of file class-gv-form-gravityforms.php.