GravityView  2.1.1
The best, easiest way to display Gravity Forms entries on your website.
Public Member Functions | Static Public Member Functions | Data Fields | Private Member Functions | Static Private Attributes
GravityView_Plugin Class Reference

The future is here and now. More...

Public Member Functions

 frontend_actions ( $force=false)
 Function to launch frontend objects. More...
 
 include_files ()
 Include global plugin files. More...
 
 load_plugin_textdomain ()
 Loads the plugin's translated strings. More...
 

Static Public Member Functions

static activate ()
 Plugin activate function. More...
 
static deactivate ()
 Plugin deactivate function. More...
 
static get_default_widget_areas ()
 Helper function to define the default widget areas. More...
 
static getInstance ()
 Singleton instance. More...
 
static include_extension_framework ()
 Include the extension class. More...
 
static include_widget_class ()
 Load GravityView_Widget class. More...
 
static is_admin ()
 Check if is_admin(), and make sure not DOING_AJAX. More...
 
static is_network_activated ()
 Check whether GravityView is network activated. More...
 
static log_debug ( $message, $data=null)
 DEBUG. More...
 
static log_error ( $message, $data=null)
 Logs messages using Gravity Forms logging add-on. More...
 

Data Fields

const version = GV_PLUGIN_VERSION
 

Private Member Functions

 __construct ()
 

Static Private Attributes

static $instance
 

Detailed Description

The future is here and now.

GravityView_Plugin main class.

Definition at line 82 of file gravityview.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )
private

Definition at line 109 of file gravityview.php.

References gravityview().

Member Function Documentation

◆ activate()

static activate ( )
static

Plugin activate function.

public

Returns
void

Definition at line 146 of file gravityview.php.

References gravityview().

◆ deactivate()

static deactivate ( )
static

Plugin deactivate function.

public

Returns
void

Definition at line 158 of file gravityview.php.

References gravityview().

◆ frontend_actions()

frontend_actions (   $force = false)

Function to launch frontend objects.

Since
1.17 Added $force param

public

Parameters
bool$forceWhether to force loading
Returns
void

Definition at line 222 of file gravityview.php.

References gravityview().

◆ get_default_widget_areas()

static get_default_widget_areas ( )
static

Helper function to define the default widget areas.

Returns
array definition for default widget areas

Definition at line 234 of file gravityview.php.

References Widget\get_default_widget_areas().

◆ getInstance()

static getInstance ( )
static

Singleton instance.

Returns
GravityView_Plugin GravityView_Plugin object

Definition at line 98 of file gravityview.php.

◆ include_extension_framework()

static include_extension_framework ( )
static

Include the extension class.

Since
1.5.1
Returns
void

Definition at line 170 of file gravityview.php.

References gravityview().

◆ include_files()

include_files ( )

Include global plugin files.

Since
1.12

Definition at line 120 of file gravityview.php.

References gravityview().

◆ include_widget_class()

static include_widget_class ( )
static

Load GravityView_Widget class.

Since
1.7.5.1

Definition at line 181 of file gravityview.php.

References gravityview().

◆ is_admin()

static is_admin ( )
static

Check if is_admin(), and make sure not DOING_AJAX.

Since
1.7.5
See also
::is_admin via gravityview()->request->is_admin()
Returns
bool

Definition at line 206 of file gravityview.php.

References gravityview().

◆ is_network_activated()

static is_network_activated ( )
static

Check whether GravityView is network activated.

Since
1.7.6
Returns
bool

Definition at line 133 of file gravityview.php.

References gravityview().

◆ load_plugin_textdomain()

load_plugin_textdomain ( )

Loads the plugin's translated strings.

public

Returns
void

Definition at line 194 of file gravityview.php.

References gravityview().

◆ log_debug()

static log_debug (   $message,
  $data = null 
)
static

DEBUG.

Logs messages using Gravity Forms logging add-on

Parameters
string$messagelog message
mixed$dataAdditional data to display
Returns
void

Definition at line 247 of file gravityview.php.

References gravityview().

◆ log_error()

static log_error (   $message,
  $data = null 
)
static

Logs messages using Gravity Forms logging add-on.

Parameters
string$messagelog message
Returns
void

Definition at line 258 of file gravityview.php.

References gravityview().

Field Documentation

◆ $instance

$instance
staticprivate

Definition at line 89 of file gravityview.php.

◆ version

const version = GV_PLUGIN_VERSION

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