GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Class GravityView_Recent_Entries_Widget. More...
Public Member Functions | |
__construct () | |
admin_enqueue_scripts () | |
Enable the merge tags functionality. More... | |
ajax_get_view_merge_tag_data () | |
When the widget View is changed, update the Merge Tag data. More... | |
form ( $instance) | |
update ( $new_instance, $old_instance) | |
widget ( $args, $instance) | |
Private Member Functions | |
get_entries ( $instance, $form_id) | |
Get the entries that will be shown in the current widget. More... | |
initialize () | |
Class GravityView_Recent_Entries_Widget.
Definition at line 10 of file class-gravityview-recent-entries-widget.php.
__construct | ( | ) |
Definition at line 13 of file class-gravityview-recent-entries-widget.php.
References $name, and initialize().
admin_enqueue_scripts | ( | ) |
Enable the merge tags functionality.
Definition at line 68 of file class-gravityview-recent-entries-widget.php.
References GRAVITYVIEW_FILE, and GV_PLUGIN_VERSION.
ajax_get_view_merge_tag_data | ( | ) |
When the widget View is changed, update the Merge Tag data.
Definition at line 39 of file class-gravityview-recent-entries-widget.php.
References GV\$form, $form_id, $output, and gravityview_get_form_id().
form | ( | $instance | ) |
Display errors generated for invalid embed IDs
Display errors generated for invalid embed IDs
gravityview_recent_entries_widget_form
Displayed at the bottom of the Recent Entries widget admin form GravityView_Recent_Entries_Widget | $this | WP_Widget object |
array | $instance | Current widget instance |
Definition at line 246 of file class-gravityview-recent-entries-widget.php.
References $args, $title, and GravityView_Admin\no_views_text().
|
private |
Get the entries that will be shown in the current widget.
array | $instance | Settings for the current widget |
string | $form_id | Form ID int, as string |
Definition at line 185 of file class-gravityview-recent-entries-widget.php.
References $entries, and View\by_id().
Referenced by widget().
|
private |
Definition at line 26 of file class-gravityview-recent-entries-widget.php.
Referenced by __construct().
update | ( | $new_instance, | |
$old_instance | |||
) |
array | $new_instance | Widget form settings after update |
array | $old_instance | Widget form settings before update |
Modify the updated instance. This will allow for validating any added instance settings externally.
array | $instance | Calculated widget settings after processing |
array | $new_instance | Widget form settings after update |
array | $old_instance | Widget form settings before update |
Definition at line 207 of file class-gravityview-recent-entries-widget.php.
References GravityView_View_Data\is_valid_embed_id().
widget | ( | $args, | |
$instance | |||
) |
array | $args | Display arguments including before_title, after_title, before_widget, and after_widget. |
array | $instance | The settings for the particular instance of the widget. |
gravityview/widget/recent-entries/before_widget
Before recent entries are displayed in the WordPress widget array | $args | Display arguments including before_title, after_title, before_widget, and after_widget. |
array | $instance | The settings for the particular instance of the widget. |
gravityview/widget/recent-entries/after_widget
After recent entries are displayed in the WordPress widget array | $args | Display arguments including before_title, after_title, before_widget, and after_widget. |
array | $instance | The settings for the particular instance of the widget. |
Definition at line 93 of file class-gravityview-recent-entries-widget.php.
References $args, $entries, GV\$form, $form_id, $output, $title, get_entries(), gravityview_get_form(), and gravityview_get_form_id().