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

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

Inheritance diagram for Form:
Source GF_Form

Public Member Functions

 __get ( $key)
 Magic shortcuts. More...
 
 get_entries ()
 Get all entries for this form. More...
 

Static Public Member Functions

static by_id ( $form_id)
 Construct a instance by ID. More...
 
- Static Public Member Functions inherited from Source
static get_field ()
 Get a instance by ID. More...
 

Data Fields

 $ID = null
 
- Data Fields inherited from Source
const BACKEND_GRAVITYFORMS = 'gravityforms'
 
const BACKEND_INTERNAL = 'internal'
 

Private Attributes

 $form
 

Additional Inherited Members

- Static Public Attributes inherited from Source
static $backend = null
 

Detailed Description

If this file is called directly, abort.

The class.

Houses all base Form functionality and provides a uniform API to various form backends via implementations.

Definition at line 15 of file class-gv-form.php.

Member Function Documentation

◆ __get()

__get (   $key)

Magic shortcuts.

Definition at line 57 of file class-gv-form.php.

References endswitch.

◆ by_id()

static by_id (   $form_id)
static

Construct a instance by ID.

Parameters
int | string$form_idThe internal form ID.
Since
2.0
Returns
|null An instance of this form or null if not found.

Definition at line 38 of file class-gv-form.php.

◆ get_entries()

get_entries ( )
abstract

Get all entries for this form.

Since
2.0
Returns
The

Field Documentation

◆ $form

$form
private

Definition at line 27 of file class-gv-form.php.

◆ $ID

$ID = null

Definition at line 22 of file class-gv-form.php.


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