GravityView  2.10.1
The best, easiest way to display Gravity Forms entries on your website.
Public Member Functions | Data Fields | Protected Attributes
GravityView_Widget_Pagination_Info Class Reference

Widget to display pagination info. More...

Inheritance diagram for GravityView_Widget_Pagination_Info:
GravityView_Widget Widget Widget

Public Member Functions

 __construct ()
 render_frontend ( $widget_args, $content='', $context='')
- Public Member Functions inherited from Widget
 add_shortcode ()
 Add $this->shortcode_name shortcode to output self::render_frontend() More...
 as_configuration ()
 Return an array of the old format. More...
 assign_widget_options ( $options=array(), $template='', $widget='')
 Assign template specific widget options. More...
 get_setting ( $key)
 Get a setting by the setting key. More...
 get_settings ()
 Get the widget settings. More...
 get_widget_id ()
 Get the Widget ID. More...
 is_registered ()
 Whether this Widget's been registered already or not. More...
 maybe_do_shortcode ( $text, $widget=null)
 Do shortcode if the Widget's shortcode exists. More...
 pre_render_frontend ()
 General validations when rendering the widget. More...
 register_widget ( $widgets)
 Register widget to become available in admin. More...
 render_frontend ( $widget_args, $content='', $context='')
 Frontend logic. More...
 render_shortcode ( $atts, $content='', $context='')
 Shortcode. More...

Data Fields

 $icon = 'dashicons-info'
- Data Fields inherited from Widget
 $position = ''
 $UID = ''

Protected Attributes

 $show_on_single = false
- Protected Attributes inherited from Widget
 $defaults = array()
 $settings = array()
 $widget_description = ''
 $widget_id = ''
 $widget_label = ''
 $widget_subtitle = ''

Additional Inherited Members

- Static Public Member Functions inherited from Widget
static from_configuration ( $configuration)
 Create the needed widget from a configuration array. More...
static get_default_widget_areas ()
 Default widget areas. More...
static registered ()
 Return all registered widgets. More...
- Protected Member Functions inherited from Widget
 get_default_settings ()
 Define general widget settings. More...

Detailed Description

Widget to display pagination info.

Definition at line 9 of file class-gravityview-widget-pagination-info.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Definition at line 19 of file class-gravityview-widget-pagination-info.php.

References Widget\$settings.

Member Function Documentation

◆ render_frontend()

render_frontend (   $widget_args,
  $content = '',
  $context = '' 
Runs Filter:
gravityview_pagination_output Modify the pagination widget output
string$outputHTML output
int$firstFirst entry #
int$lastLast entry #
int$totalTotal entries #

Definition at line 33 of file class-gravityview-widget-pagination-info.php.

References $class, $gravityview_view, $output, GravityView_View\getInstance(), and Widget\pre_render_frontend().

Field Documentation

◆ $icon

$icon = 'dashicons-info'

Definition at line 11 of file class-gravityview-widget-pagination-info.php.

◆ $show_on_single

$show_on_single = false

Definition at line 17 of file class-gravityview-widget-pagination-info.php.

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