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_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 ( $field_id) |
Get a from an internal Gravity Forms 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 internal field object wrapper.
Used for custom content fields, etc.
Definition at line 14 of file class-gv-field-internal.php.
|
static |
Get a from an internal Gravity Forms field ID.
int | $field_id | The internal Gravity Forms field ID. |
Retrieve the internal backing field (old for now)
Definition at line 51 of file class-gv-field-internal.php.
References $field, $field_id, and GravityView_Fields\get_instance().
Referenced by gvfield\callback(), View\get_unions(), Views_Route\prepare_entry_for_response(), GravityView_Widget_Search\prepare_field_filter(), GravityView_Field_Sequence\replace_merge_tag(), and View\template_redirect().
|
static |
Create self from a configuration array.
array | $configuration | The configuration array. |
Definition at line 30 of file class-gv-field-internal.php.
References $field, and gravityview().
get_label | ( | View | $view = null , |
Source | $source = null , |
||
Entry | $entry = null , |
||
Request | $request = null |
||
) |
Retrieve the label for this field.
\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. |
Definition at line 75 of file class-gv-field-internal.php.
get_value | ( | View | $view = null , |
Source | $source = null , |
||
Entry | $entry = null , |
||
Request | $request = null |
||
) |
Retrieve the value for this field.
Requires the 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. |
For example the "content" field will be empty here. It's value is actually currently retrieved inside ...
drumroll
A TEMPLATE :)
Apply parent filters.
Definition at line 104 of file class-gv-field-internal.php.
References $entry, $value, and gravityview().
$field |
Definition at line 18 of file class-gv-field-internal.php.