GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
If this file is called directly, abort. More...
Public Member Functions | |
offsetExists ( $offset) | |
ArrayAccess compatibility layer with a Gravity Forms entry array. More... | |
offsetGet ( $offset) | |
ArrayAccess compatibility layer with a Gravity Forms entry array. More... | |
offsetSet ( $offset, $value) | |
ArrayAccess compatibility layer with a Gravity Forms entry array. More... | |
offsetUnset ( $offset) | |
ArrayAccess compatibility layer with a Gravity Forms entry array. More... | |
Public Member Functions inherited from Entry | |
as_entry () | |
Return the backing entry object. More... | |
from_field ( $field, $fallback=null) | |
If this is a Multi_Entry filter it by Field. More... | |
get_permalink (\GV\View $view=null, \GV\Request $request=null, $track_directory=true) | |
Return the link to this entry in the supplied context. More... | |
get_slug ( $apply_filter=false, \GV\View $view=null, \GV\Request $request=null, $track_directory=true) | |
Get the entry slug. More... | |
is_multi () | |
Is this a multi-entry (joined entry). More... | |
Static Public Member Functions | |
static | by_id ( $entry_id, $form_id=0) |
Construct a instance by ID. More... | |
static | by_slug ( $entry_slug, $form_id=0) |
Construct a instance by slug name. More... | |
static | from_entry ( $entry) |
Construct a instance from a Gravity Forms entry array. More... | |
Static Public Member Functions inherited from Entry | |
static | add_rewrite_endpoint () |
Adds the necessary rewrites for single Entries. More... | |
static | by_id ( $entry_id) |
Construct a instance by ID. More... | |
static | get_endpoint_name () |
Return the endpoint name for a single Entry. More... | |
Static Public Attributes | |
static | $backend = 'gravityforms' |
Static Public Attributes inherited from Entry | |
static | $backend = null |
Private Member Functions | |
__construct () | |
Initialization. More... | |
Additional Inherited Members | |
Data Fields inherited from Entry | |
$ID = null | |
Protected Attributes inherited from Entry | |
$entry | |
If this file is called directly, abort.
The Gravity Forms Entry class implementation.
Accessible as an array for back-compatibility.
Definition at line 14 of file class-gv-entry-gravityforms.php.
|
private |
Initialization.
Definition at line 26 of file class-gv-entry-gravityforms.php.
References gravityview().
|
static |
Construct a instance by ID.
int | string | $entry_id | The internal entry ID. |
int | $form_id | The form ID, since slugs can be non-unique. Default: 0. |
Always try to grab by numeric ID first.
Hmm, slugs? Must be.
Definition at line 42 of file class-gv-entry-gravityforms.php.
References $entry, and $form_id.
Referenced by gvfield\callback(), Views_Route\get_sub_item(), Views_Route\get_sub_item_permissions_check(), GV\Mocks\GravityView_API_field_label(), and GV\Mocks\GravityView_API_field_value().
|
static |
Construct a instance by slug name.
int | string | $entry_slug | The registered slug for the entry. |
int | $form_id | The form ID, since slugs can be non-unique. Default: 0. |
Definition at line 72 of file class-gv-entry-gravityforms.php.
References $entry_slug, and $form_id.
|
static |
Construct a instance from a Gravity Forms entry array.
array | $entry | The entry array |
Definition at line 108 of file class-gv-entry-gravityforms.php.
References $entry.
Referenced by GravityView_Field_Notes\get_add_note_part(), GravityView_Delete_Entry\get_delete_link(), GravityView_Field_FileUpload\get_files_array(), and GravityView_Field_Sequence\replace_merge_tag().
offsetExists | ( | $offset | ) |
ArrayAccess compatibility layer with a Gravity Forms entry array.
Definition at line 131 of file class-gv-entry-gravityforms.php.
offsetGet | ( | $offset | ) |
ArrayAccess compatibility layer with a Gravity Forms entry array.
Maps the old keys to the new data;
Definition at line 147 of file class-gv-entry-gravityforms.php.
offsetSet | ( | $offset, | |
$value | |||
) |
ArrayAccess compatibility layer with a Gravity Forms entry array.
Definition at line 161 of file class-gv-entry-gravityforms.php.
References gravityview().
offsetUnset | ( | $offset | ) |
ArrayAccess compatibility layer with a Gravity Forms entry array.
Definition at line 174 of file class-gv-entry-gravityforms.php.
References gravityview().
|
static |
Definition at line 21 of file class-gv-entry-gravityforms.php.