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) | |
A proxy getter for the backing GravityView field. More... | |
get_label (View $view=null, Source $source=null, Entry $entry=null, Request $request=null) | |
Retrieve the label for this field. More... | |
get_value (View $view=null, Source $source=null, Entry $entry=null, Request $request=null) | |
Retrieve the value for this field. More... | |
Public Member Functions inherited from Field | |
__get ( $key) | |
Get one of the extra configuration keys via property accessors. More... | |
__isset ( $key) | |
Is this set? More... | |
as_configuration () | |
Return an array of the old format as used by callers of GVCommon:get_directory_fields() for example. More... | |
get_label (View $view=null, Source $source=null, Entry $entry=null, Request $request=null) | |
Retrieve the label for this field. More... | |
get_value (View $view=null, Source $source=null, Entry $entry=null, Request $request=null) | |
Retrieve the value for this field. More... | |
is_visible ( $view=null) | |
Whether or not this field is visible. More... | |
update_configuration ( $configuration) | |
Update configuration. More... | |
Static Public Member Functions | |
static | by_id ( $form, $field_id) |
Get a by and Field ID. More... | |
static | from_configuration ( $configuration) |
Create self from a configuration array. More... | |
Static Public Member Functions inherited from Field | |
static | from_configuration ( $configuration) |
Create self from a configuration array. More... | |
static | get ( $source, $args) |
An alias for ::get_field() More... | |
Data Fields | |
$field | |
Data Fields inherited from Field | |
$cap = '' | |
$custom_class = '' | |
$custom_label = '' | |
$ID = '' | |
$label = '' | |
$position = '' | |
$search_filter = false | |
$show_as_link = false | |
$show_label = true | |
$UID = '' | |
Additional Inherited Members | |
Protected Member Functions inherited from Field | |
get_value_filters ( $value, View $view=null, Source $source=null, Entry $entry=null, Request $request=null) | |
Apply all the required filters after get_value() was called. More... | |
If this file is called directly, abort.
The Gravity Forms {
Definition at line 12 of file class-gv-field-gravityforms.php.
__get | ( | $key | ) |
A proxy getter for the backing GravityView field.
The view field configuration is checked first, though.
string | $key | The property to get. |
Definition at line 161 of file class-gv-field-gravityforms.php.
References $value.
|
static |
Get a by and Field ID.
\GV\GF_Form | $form | The Gravity Form form. |
int | $field_id | The Gravity Form field ID for the $form. |
Definition at line 59 of file class-gv-field-gravityforms.php.
References $field, $field_id, GV\$form, $gv_field, and gravityview().
Referenced by gvfield\callback(), GravityView_Field_FileUpload\field_options(), GravityView_Field_Survey\field_options(), View\get_unions(), Views_Route\prepare_entry_for_response(), GravityView_Widget_Search\prepare_field_filter(), and View\template_redirect().
|
static |
Create self from a configuration array.
array | $configuration | The configuration array. |
Definition at line 29 of file class-gv-field-gravityforms.php.
References $field, GV\$form, and gravityview().
get_label | ( | View | $view = null , |
Source | $source = null , |
||
Entry | $entry = null , |
||
Request | $request = null |
||
) |
Retrieve the label for this field.
Requires a in this implementation.
\GV\View | $view | The view for this context if applicable. |
\GV\Source | $source | The source (form) for this context if applicable. |
\GV\Entry | $entry | The entry for this context if applicable. |
\GV\Request | $request | The request for this context if applicable. |
This is a complex Gravity Forms input.
This is a field with one label.
Definition at line 98 of file class-gv-field-gravityforms.php.
References $entry, $label, and gravityview().
get_value | ( | View | $view = null , |
Source | $source = null , |
||
Entry | $entry = null , |
||
Request | $request = null |
||
) |
Retrieve the value for this field.
Requires a in this implementation.
\GV\View | $view | The view for this context if applicable. |
\GV\Source | $source | The source (form) for this context if applicable. |
\GV\Entry | $entry | The entry for this context if applicable. |
\GV\Request | $request | The request for this context if applicable. |
Apply parent filters.
Definition at line 140 of file class-gv-field-gravityforms.php.
References $entry, $field, $value, and gravityview().
$field |
Definition at line 17 of file class-gv-field-gravityforms.php.