GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
GravityView_Edit_Entry_Render $object More...
Go to the source code of this file.
Variables | |
if(current_filter()==='gform_previous_button') if(current_filter()==='gform_next_button') | $back_link = apply_filters( 'gravityview/edit_entry/cancel_link', remove_query_arg( array( 'page', 'view', 'edit' ) ), $object->form, $object->entry, $object->view_id ) |
$cancel_label = GFCommon::replace_variables( $labels['cancel'], $object->form, $object->entry ) | |
$cancel_onclick = empty( $cancel_onclick_js ) ? '' : 'onclick="' . esc_attr( $cancel_onclick_js ) . '"' | |
$cancel_onclick_js = apply_filters( 'gravityview/edit_entry/cancel_onclick', 'history.go(' . ( $update_count + 1 ) * -1 . '); return false;', $object->form, $object->entry, $object->view_id, $update_count ) | |
if( $object->show_previous_button) if( $object->show_next_button) if( $object->show_update_button) | $cancel_tabindex = GFCommon::get_tabindex() |
$labels = $object->get_action_labels() | |
$update_count = (int) \GV\Utils::_POST( 'update_count', 0 ) | |
GravityView_Edit_Entry_Render $object
Definition in file form-buttons.php.
if (current_filter()==='gform_previous_button') if (current_filter()==='gform_next_button') $back_link = apply_filters( 'gravityview/edit_entry/cancel_link', remove_query_arg( array( 'page', 'view', 'edit' ) ), $object->form, $object->entry, $object->view_id ) |
gravityview/edit_entry/cancel_link
Modify the cancel button link URL string | $back_link | Existing URL of the Cancel link |
array | $form | The Gravity Forms form |
array | $entry | The Gravity Forms entry |
int | $view_id | The current View ID |
Definition at line 32 of file form-buttons.php.
Referenced by GravityView_Edit_Entry_Render\maybe_print_message().
$cancel_label = GFCommon::replace_variables( $labels['cancel'], $object->form, $object->entry ) |
Definition at line 70 of file form-buttons.php.
$cancel_onclick = empty( $cancel_onclick_js ) ? '' : 'onclick="' . esc_attr( $cancel_onclick_js ) . '"' |
Definition at line 88 of file form-buttons.php.
$cancel_onclick_js = apply_filters( 'gravityview/edit_entry/cancel_onclick', 'history.go(' . ( $update_count + 1 ) * -1 . '); return false;', $object->form, $object->entry, $object->view_id, $update_count ) |
gravityview/edit_entry/cancel_onclick
Modify the onclick
attribute for the back link.To remove onclick
altogether, return an empty string.
string | $back_link | Existing "back" of the Cancel link. |
array | $form | The Gravity Forms form. |
array | $entry | The Gravity Forms entry. |
int | $view_id | The current View ID. |
int | $update_count | The number of pages to go back based on the # of updates to the edited form. |
Definition at line 86 of file form-buttons.php.
if ($object->show_previous_button) if ($object->show_next_button) if ($object->show_update_button) $cancel_tabindex = GFCommon::get_tabindex() |
Definition at line 69 of file form-buttons.php.
$labels = $object->get_action_labels() |
Definition at line 43 of file form-buttons.php.
Referenced by GravityView_Edit_Entry_Render\get_action_labels(), GravityView_Entry_Approval_Status\get_labels(), GravityView_Widget_Search\get_search_input_label(), GravityView_Edit_Entry_Render\maybe_print_message(), View\register_post_type(), and GravityView_Edit_Entry_Render\render_edit_form().
$update_count = (int) \GV\Utils::_POST( 'update_count', 0 ) |
Definition at line 75 of file form-buttons.php.
Referenced by ProductManager\update_submenu_badge_count(), and LicenseManager\update_submenu_badge_count().