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 | |
as_entry () | |
Fake legacy template support. More... | |
get_permalink (\GV\View $view=null, \GV\Request $request=null, $track_directory=true) | |
Return the link to this multi entry in the supplied context. More... | |
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 | from_entries ( $entries) |
Construct a multientry from an array of entries. 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... | |
Data Fields | |
$entries = array() | |
The entries in this form. More... | |
Data Fields inherited from Entry | |
$ID = null | |
Static Public Attributes | |
static | $backend = 'multi' |
Static Public Attributes inherited from Entry | |
static | $backend = null |
Private Member Functions | |
__construct () | |
Initialization. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Entry | |
$entry | |
If this file is called directly, abort.
The multi-entry Entry implementation.
An entry that is really a join of 2+ entries. Used for JOINS in the component.
Definition at line 15 of file class-gv-entry-multi.php.
|
private |
Initialization.
Definition at line 31 of file class-gv-entry-multi.php.
as_entry | ( | ) |
Fake legacy template support.
Take the first entry and set it as the current entry. But support nesting.
Definition at line 60 of file class-gv-entry-multi.php.
References $entry.
|
static |
Construct a multientry from an array of entries.
Definition at line 41 of file class-gv-entry-multi.php.
References $entries, and $entry.
Referenced by GV\Mocks\GravityView_API_field_value().
get_permalink | ( | \GV\View | $view = null , |
\GV\Request | $request = null , |
||
$track_directory = true |
|||
) |
Return the link to this multi entry in the supplied context.
\GV\View | null | $view | The View context. |
\GV\Request | $request | The Request (current if null). |
boolean | $track_directory | Keep the housing directory arguments intact (used for breadcrumbs, for example). Default: true. |
Definition at line 87 of file class-gv-entry-multi.php.
References $entry.
offsetExists | ( | $offset | ) |
ArrayAccess compatibility layer with a Gravity Forms entry array.
Definition at line 112 of file class-gv-entry-multi.php.
offsetGet | ( | $offset | ) |
ArrayAccess compatibility layer with a Gravity Forms entry array.
Maps the old keys to the new data;
Definition at line 128 of file class-gv-entry-multi.php.
offsetSet | ( | $offset, | |
$value | |||
) |
ArrayAccess compatibility layer with a Gravity Forms entry array.
Definition at line 145 of file class-gv-entry-multi.php.
References gravityview().
offsetUnset | ( | $offset | ) |
ArrayAccess compatibility layer with a Gravity Forms entry array.
Definition at line 158 of file class-gv-entry-multi.php.
References gravityview().
|
static |
Definition at line 26 of file class-gv-entry-multi.php.
$entries = array() |
The entries in this form.
Definition at line 19 of file class-gv-entry-multi.php.