![]() |
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 ( $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... | |
Private Attributes | |
| $storage = array() | |
If this file is called directly, abort.
A generic Collection base class.
Definition at line 12 of file class-gv-collection.php.
| add | ( | $value | ) |
Add an object to this collection.
| mixed | $value | The object to be added. |
Definition at line 27 of file class-gv-collection.php.
References $value.
| all | ( | ) |
Returns all the objects in this collection as an an array.
Definition at line 62 of file class-gv-collection.php.
| clear | ( | ) |
| count | ( | ) |
Returns the count of the objects in this collection.
Definition at line 95 of file class-gv-collection.php.
| first | ( | ) |
Get the first added object.
Definition at line 84 of file class-gv-collection.php.
| last | ( | ) |
Get the last added object.
Definition at line 73 of file class-gv-collection.php.
| merge | ( | \GV\Collection | $collection | ) |
Merge another collection into here.
| \GV\Collection | $collection | The collection to be merged. |
Definition at line 51 of file class-gv-collection.php.
|
private |
Definition at line 16 of file class-gv-collection.php.