GravityView  1.19.4
The best, easiest way to display Gravity Forms entries on your website.
Public Member Functions | Protected Attributes
GravityView_Edit_Entry_Admin Class Reference

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)
 Manipulate the fields' options for the EDIT ENTRY screen. 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...
 

Protected Attributes

 $loader
 

Detailed Description

Definition at line 17 of file class-edit-entry-admin.php.

Constructor & Destructor Documentation

__construct ( GravityView_Edit_Entry  $loader)

Definition at line 21 of file class-edit-entry-admin.php.

References $loader.

Member Function Documentation

add_default_field (   $entry_default_fields,
  $form = array(),
  $zone = '' 
)

Add Edit Link as a default field, outside those set in the Gravity Form form.

Parameters
array$entry_default_fieldsExisting fields
string | array$formform_ID or form object
string$zoneEither 'single', 'directory', 'header', 'footer'

Definition at line 53 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.

Parameters
[type]$field_options [description]
[type]$template_id [description]
[type]$field_id [description]
[type]$context [description]
[type]$input_type [description]
Returns
[type] [description]

Definition at line 104 of file class-edit-entry-admin.php.

field_options (   $field_options,
  $template_id,
  $field_id,
  $context,
  $input_type 
)

Manipulate the fields' options for the EDIT ENTRY screen.

Parameters
[type]$field_options [description]
[type]$template_id [description]
[type]$field_id [description]
[type]$context [description]
[type]$input_type [description]
Returns
[type] [description]
Since
1.8.4

Definition at line 149 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.

Parameters
array$visibility_capsArray of capabilities to display in field dropdown.
string$field_typeType of field options to render (field or widget)
string$template_idTable slug
float$field_idGF Field ID - Example: 3, 5.2, entry_link, created_by
string$contextWhat context are we in? Example: single or directory
string$input_type(textarea, list, select, etc.)
Returns
array Array of field options with label, value, type, default keys

Definition at line 79 of file class-edit-entry-admin.php.

tooltips (   $tooltips)

Add tooltips.

Parameters
array$tooltipsExisting tooltips
Returns
array Modified tooltips

Definition at line 128 of file class-edit-entry-admin.php.

Field Documentation

$loader
protected

Definition at line 19 of file class-edit-entry-admin.php.

Referenced by __construct().


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