GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Public Member Functions | |
__construct (GravityView_Edit_Entry $loader) | |
add_default_field ( $entry_default_fields, $form=array(), $zone='') | |
Add Edit Link as a default field, outside those set in the Gravity Form form. More... | |
edit_link_field_options ( $field_options, $template_id, $field_id, $context, $input_type) | |
Add "Edit Link Text" setting to the edit_link field settings. More... | |
field_options ( $field_options, $template_id, $field_id, $context, $input_type, $form_id) | |
Add "Edit Link Text" setting to the edit_link field settings. More... | |
load () | |
modify_visibility_caps ( $visibility_caps=array(), $template_id='', $field_id='', $context='', $input_type='') | |
Change wording for the Edit context to read Entry Creator. More... | |
tooltips ( $tooltips) | |
Add tooltips. More... | |
view_settings_metabox ( $current_settings) | |
Render Edit Entry View metabox settings. More... | |
Protected Attributes | |
$loader | |
Definition at line 17 of file class-edit-entry-admin.php.
__construct | ( | GravityView_Edit_Entry | $loader | ) |
Definition at line 21 of file class-edit-entry-admin.php.
References $loader.
add_default_field | ( | $entry_default_fields, | |
$form = array() , |
|||
$zone = '' |
|||
) |
Add Edit Link as a default field, outside those set in the Gravity Form form.
array | $entry_default_fields | Existing fields |
string | array | $form | form_ID or form object |
string | $zone | Either 'single', 'directory', 'header', 'footer' |
Definition at line 82 of file class-edit-entry-admin.php.
edit_link_field_options | ( | $field_options, | |
$template_id, | |||
$field_id, | |||
$context, | |||
$input_type | |||
) |
Add "Edit Link Text" setting to the edit_link field settings.
array | $field_options | |
string | $template_id | |
string | $field_id | |
string | $context | |
string | $input_type |
Definition at line 136 of file class-edit-entry-admin.php.
field_options | ( | $field_options, | |
$template_id, | |||
$field_id, | |||
$context, | |||
$input_type, | |||
$form_id | |||
) |
Add "Edit Link Text" setting to the edit_link field settings.
array | $field_options | |
string | $template_id | |
string | $field_id | |
string | $context | |
string | $input_type | |
int | $form_id |
Definition at line 192 of file class-edit-entry-admin.php.
References $field_id, and GravityView_Render_Settings\get_cap_choices().
load | ( | ) |
Definition at line 25 of file class-edit-entry-admin.php.
modify_visibility_caps | ( | $visibility_caps = array() , |
|
$template_id = '' , |
|||
$field_id = '' , |
|||
$context = '' , |
|||
$input_type = '' |
|||
) |
Change wording for the Edit context to read Entry Creator.
array | $visibility_caps | Array of capabilities to display in field dropdown. |
string | $field_type | Type of field options to render (field or widget ) |
string | $template_id | Table slug |
float | $field_id | GF Field ID - Example: 3 , 5.2 , entry_link , created_by |
string | $context | What context are we in? Example: single or directory |
string | $input_type | (textarea, list, select, etc.) |
label
, value
, type
, default
keys Definition at line 109 of file class-edit-entry-admin.php.
tooltips | ( | $tooltips | ) |
Add tooltips.
array | $tooltips | Existing tooltips |
Definition at line 168 of file class-edit-entry-admin.php.
view_settings_metabox | ( | $current_settings | ) |
Render Edit Entry View metabox settings.
$current_settings |
Definition at line 59 of file class-edit-entry-admin.php.
References $current_settings, and GravityView_Render_Settings\render_setting_row().
|
protected |
Definition at line 19 of file class-edit-entry-admin.php.
Referenced by __construct().