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
Core Class Reference

If this file is called directly, abort. More...

Public Member Functions

 __get ( $key)
 Wrapper magic. More...
 
 __set ( $key, $value)
 

Static Public Member Functions

static bootstrap ()
 Very early initialization. More...
 
static get ()
 Get the global instance of . More...
 

Data Fields

 $log
 
 $plugin
 
 $request
 

Private Member Functions

 __clone ()
 
 __construct ()
 Bootstrap. More...
 
 __wakeup ()
 
 init ()
 Early initialization. More...
 

Static Private Attributes

static $__instance = null
 

Detailed Description

If this file is called directly, abort.

The core GravityView API.

Returned by the wrapper gravityview() global function, exposes all the required public functionality and classes, sets up global state depending on current request context, etc.

Definition at line 16 of file class-gv-core.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )
private

Bootstrap.

Returns
void

Definition at line 73 of file class-gv-core.php.

Member Function Documentation

◆ __clone()

__clone ( )
private

Definition at line 240 of file class-gv-core.php.

◆ __get()

__get (   $key)

Wrapper magic.

Making developers happy, since 2017.

Definition at line 249 of file class-gv-core.php.

◆ __set()

__set (   $key,
  $value 
)

Definition at line 261 of file class-gv-core.php.

◆ __wakeup()

__wakeup ( )
private

Definition at line 242 of file class-gv-core.php.

◆ bootstrap()

static bootstrap ( )
static

Very early initialization.

Activation handlers, rewrites, post type registration.

Definition at line 63 of file class-gv-core.php.

References GV\get().

◆ get()

static get ( )
static

Get the global instance of .

Returns
The global instance of GravityView Core.

Definition at line 51 of file class-gv-core.php.

◆ init()

init ( )
private

Early initialization.

Loads dependencies, sets up the object, adds hooks, etc.

Returns
void

Enable logging.

Runs Filter:
gravityview/logger Filter the logger instance being used for logging.
Parameters
\GV\Logger$loggerThe logger instance.

Utilities.

The Settings.

Request.

Require critical legacy core files.

GravityView extensions and widgets.

More legacy core.

Stop all further functionality from loading if the WordPress plugin is incompatible with the current environment.

Saves some time and memory.

Register the gravityview post type upon WordPress core init.

Add rewrite endpoint for single-entry URLs.

REST API

Generate custom slugs on entry save.

Shortcodes

oEmbed

Our Source generic and beloved source and form backend implementations.

Joins

Our Entry generic and beloved entry backend implementations.

Context is everything.

Our Field generic and implementations.

Get the collections ready.

The sorting, filtering and paging classes.

The Renderers.

Templating.

Magic.

Cache busting.

Runs Actions:
gravityview/loaded The core has been loaded.

Note: this is a very early load hook, not all of WordPress core has been loaded here. init hasn't been called yet.

Definition at line 85 of file class-gv-core.php.

References GV\get().

Field Documentation

◆ $__instance

$__instance = null
staticprivate

Definition at line 20 of file class-gv-core.php.

◆ $log

$log

Definition at line 44 of file class-gv-core.php.

◆ $plugin

$plugin

Definition at line 28 of file class-gv-core.php.

◆ $request

$request

Definition at line 36 of file class-gv-core.php.


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