![]() |
GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
A field or widget in GravityView view configuration. More...
Public Member Functions | |
| __construct ( $title='', $item_id='', $item=array(), $settings=array(), $form_id=null, $form=array()) | |
| __toString () | |
| When echoing this class, print the HTML output. More... | |
| getOutput () | |
| Generate HTML for field or a widget modal. More... | |
Protected Member Functions | |
| additional_info () | |
| Overridden by child classes. More... | |
| get_item_info ( $html=true) | |
| Generate the output for a field based on the additional_info() output. More... | |
Protected Attributes | |
| $form | |
| $form_id | |
| $id | |
| $item | |
| $label_type | |
| $settings | |
| $subtitle | |
| $title | |
Private Member Functions | |
| get_indicator_icons () | |
| Returns array of item icons used to represent field settings state. More... | |
A field or widget in GravityView view configuration.
Definition at line 10 of file class-gravityview-admin-view-item.php.
| __construct | ( | $title = '', |
|
$item_id = '', |
|||
$item = array(), |
|||
$settings = array(), |
|||
$form_id = null, |
|||
$form = array() |
|||
| ) |
| __toString | ( | ) |
When echoing this class, print the HTML output.
Definition at line 92 of file class-gravityview-admin-view-item.php.
References getOutput().
|
protected |
Overridden by child classes.
value, label and (optional) class keys Definition at line 101 of file class-gravityview-admin-view-item.php.
Referenced by get_item_info().
|
private |
Returns array of item icons used to represent field settings state.
Has gravityview/admin/indicator_icons filter for other components to modify displayed icons.
gravityview/admin/indicator_icons Modify the icon output to add additional indicator icons Definition at line 259 of file class-gravityview-admin-view-item.php.
|
protected |
Generate the output for a field based on the additional_info() output.
| boolean | $html | Display HTML output? If yes, output is wrapped in spans. If no, plaintext. |
gravityview_admin_label_item_info Tap in to modify the field information displayed next to an item| array | $field_info_items | Additional information to display in a field |
| GravityView_Admin_View_Field | $this | Field shown in the admin |
Definition at line 112 of file class-gravityview-admin-view-item.php.
References $class, $item, $output, and additional_info().
| getOutput | ( | ) |
Generate HTML for field or a widget modal.
Definition at line 156 of file class-gravityview-admin-view-item.php.
References $form, $label, $title, GVCommon\get_form(), and gravityview_get_field().
Referenced by __toString().
|
protected |
Definition at line 50 of file class-gravityview-admin-view-item.php.
Referenced by __construct(), and getOutput().
|
protected |
Definition at line 45 of file class-gravityview-admin-view-item.php.
Referenced by __construct().
|
protected |
Definition at line 20 of file class-gravityview-admin-view-item.php.
|
protected |
Definition at line 35 of file class-gravityview-admin-view-item.php.
Referenced by __construct(), and get_item_info().
|
protected |
Definition at line 30 of file class-gravityview-admin-view-item.php.
|
protected |
Definition at line 40 of file class-gravityview-admin-view-item.php.
Referenced by __construct().
|
protected |
Definition at line 25 of file class-gravityview-admin-view-item.php.
|
protected |
Definition at line 15 of file class-gravityview-admin-view-item.php.
Referenced by __construct(), and getOutput().