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 | |
add ( $form) | |
Add a to this collection. More... | |
get ( $form_id, $backend='gravityforms') | |
Get a from this list. More... | |
Public Member Functions inherited from Collection | |
add ( $value) | |
Add an object to this collection. More... | |
all () | |
Returns all the objects in this collection as an an array. More... | |
clear () | |
Clear this collection. More... | |
count () | |
Returns the count of the objects in this collection. More... | |
first () | |
Get the first added object. More... | |
last () | |
Get the last added object. More... | |
merge (\GV\Collection $collection) | |
Merge another collection into here. More... | |
If this file is called directly, abort.
A collection of objects.
Definition at line 12 of file class-gv-collection-form.php.
add | ( | $form | ) |
Add a to this collection.
\GV\Form | $form | The form to add to the internal array. |
Definition at line 22 of file class-gv-collection-form.php.
References GV\$form, and gravityview().
get | ( | $form_id, | |
$backend = 'gravityforms' |
|||
) |
Get a from this list.
int | $form_id | The ID of the form to get. |
string | $backend | The form backend identifier, allows for multiple form backends in the future. Unused until then. |
Definition at line 41 of file class-gv-collection-form.php.