![]() |
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 ( $field) | |
| Add a to this collection. More... | |
| all () | |
| Returns all the objects in this collection as an an array. More... | |
| by_position ( $position) | |
| Get a copy of this filtered by position. More... | |
| by_visible ( $view=null) | |
| Get a copy of this filtered by visibility to current user context. More... | |
| get ( $field_uid) | |
| Get a from this list by UID. 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... | |
Static Public Member Functions | |
| static | from_configuration ( $configuration) |
| Parse a configuration array into a Field_Collection. More... | |
If this file is called directly, abort.
A collection of objects.
Definition at line 12 of file class-gv-collection-field.php.
| add | ( | $field | ) |
Add a to this collection.
| \GV\Field | $field | The field to add to the internal array. |
Definition at line 34 of file class-gv-collection-field.php.
References $field, and gravityview().
| all | ( | ) |
Returns all the objects in this collection as an an array.
Here for docBlock purposes only.
Definition at line 21 of file class-gv-collection-field.php.
| by_position | ( | $position | ) |
Get a copy of this filtered by position.
| string | $position | The position to get the fields for. Can be a wildcard * |
Definition at line 72 of file class-gv-collection-field.php.
References $field.
| by_visible | ( | $view = null | ) |
Get a copy of this filtered by visibility to current user context.
| $view | The view! |
$field
Definition at line 95 of file class-gv-collection-field.php.
References $field.
|
static |
Parse a configuration array into a Field_Collection.
| array | $configuration | The configuration, structured like so: |
array(
[other zones]
'directory_list-title' => array(
[other fields]
'5372653f25d44' => array(
@see \GV\Field::as_configuration() for structure
)
[other fields]
)
[other zones] )
Definition at line 132 of file class-gv-collection-field.php.
References $field.
| get | ( | $field_uid | ) |
Get a from this list by UID.
| int | $field_uid | The UID of the field in the field to get. |
Definition at line 52 of file class-gv-collection-field.php.
References $field.