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

Widget to display page links. More...

Inheritance diagram for GravityView_Widget_Page_Links:
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-controls-forward'
 
- Data Fields inherited from Widget
 $configuration
 
 $icon
 
 $position = ''
 
 $UID = ''
 

Protected Attributes

 $show_on_single = false
 
- Protected Attributes inherited from Widget
 $defaults = array()
 
 $settings = array()
 
 $shortcode_name
 
 $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 page links.

Definition at line 8 of file class-gravityview-widget-page-links.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Definition at line 14 of file class-gravityview-widget-page-links.php.

References Widget\$settings.

Member Function Documentation

◆ render_frontend()

render_frontend (   $widget_args,
  $content = '',
  $context = '' 
)
Runs Filter:
gravityview_page_links_args Filter the pagination options
Since
1.1.4
Parameters
array$page_link_argsArray of arguments for the paginate_links() function. Read more about paginate_links()

Definition at line 29 of file class-gravityview-widget-page-links.php.

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

Field Documentation

◆ $icon

$icon = 'dashicons-controls-forward'

Definition at line 10 of file class-gravityview-widget-page-links.php.

◆ $show_on_single

$show_on_single = false
protected

Definition at line 12 of file class-gravityview-widget-page-links.php.


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