GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
Public Member Functions
GravityView_GF_Entries_List Class Reference

Actions to be performed on the Gravity Forms Entries list screen. More...

Public Member Functions

 __construct ()
 
 add_edit_link ( $form_id=NULL, $field_id=NULL, $value=NULL, $lead=array(), $query_string=NULL)
 Add an Edit link to the GF Entry actions row. More...
 
 add_edit_script ()
 When clicking the edit link, convert the Entries form to go to the edit screen. More...
 

Detailed Description

Actions to be performed on the Gravity Forms Entries list screen.

Definition at line 6 of file entry-list.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Definition at line 8 of file entry-list.php.

Member Function Documentation

◆ add_edit_link()

add_edit_link (   $form_id = NULL,
  $field_id = NULL,
  $value = NULL,
  $lead = array(),
  $query_string = NULL 
)

Add an Edit link to the GF Entry actions row.

Parameters
int$form_idID of the current form
int$field_idThe ID of the field in the first column, where the row actions are shown
string$valueThe value of the $field_id field
array$leadThe current entry data
string$query_stringURL query string for a link to the current entry. Missing the ?page= part, which is strange. Example: gf_entries&view=entry&id=35&lid=5212&filter=&paged=1

Definition at line 57 of file entry-list.php.

References $form_id.

◆ add_edit_script()

add_edit_script ( )

When clicking the edit link, convert the Entries form to go to the edit screen.

Gravity Forms requires $_POST['screen_mode'] to be set to get to the "Edit" mode. This enables direct access to the edit mode.

Returns
void

Definition at line 25 of file entry-list.php.


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