GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Modify option field type by extending this class. More...
Public Member Functions | |
__construct ( $name='', $field=array(), $curr_value=NULL) | |
get_field_desc () | |
Retrieve field description. More... | |
get_field_id () | |
Build input id based on the name. More... | |
get_field_label () | |
Retrieve field label. More... | |
get_field_left_label () | |
Retrieve field left label. More... | |
get_label_class () | |
Retrieve field label class. More... | |
get_tooltip () | |
render_input ( $override_input) | |
important! Override this class outputs the input html part More... | |
render_option () | |
important! Override this class outputs the field option html More... | |
render_setting ( $override_input=NULL) | |
important! Override this class if needed outputs the field setting html More... | |
show_merge_tags () | |
Verify if field should have merge tags. More... | |
tooltip ( $name, $css_class='', $return=false, $article=array()) | |
Displays the tooltip. More... | |
Static Public Member Functions | |
static | get_field_defaults () |
Returns the default details for a field option. More... | |
Protected Attributes | |
$field | |
$name | |
$value | |
Modify option field type by extending this class.
Definition at line 6 of file class.field.type.php.
__construct | ( | $name = '' , |
|
$field = array() , |
|||
$curr_value = NULL |
|||
) |
Definition at line 29 of file class.field.type.php.
|
static |
Returns the default details for a field option.
Definition at line 64 of file class.field.type.php.
get_field_desc | ( | ) |
Retrieve field description.
Definition at line 209 of file class.field.type.php.
Referenced by GravityView_FieldType_checkbox\render_option(), GravityView_FieldType_radio\render_option(), GravityView_FieldType_text\render_option(), GravityView_FieldType_textarea\render_option(), GravityView_FieldType_select\render_option(), GravityView_FieldType_checkboxes\render_option(), GravityView_FieldType_multiselect\render_option(), and GravityView_FieldType_checkbox\render_setting().
get_field_id | ( | ) |
Build input id based on the name.
Definition at line 170 of file class.field.type.php.
get_field_label | ( | ) |
Retrieve field label.
Definition at line 181 of file class.field.type.php.
Referenced by GravityView_FieldType_checkbox\render_option(), GravityView_FieldType_radio\render_option(), GravityView_FieldType_checkboxes\render_option(), GravityView_FieldType_checkbox\render_setting(), and render_setting().
get_field_left_label | ( | ) |
Retrieve field left label.
Definition at line 192 of file class.field.type.php.
Referenced by GravityView_FieldType_checkbox\render_setting().
get_label_class | ( | ) |
get_tooltip | ( | ) |
Definition at line 81 of file class.field.type.php.
References tooltip().
Referenced by GravityView_FieldType_checkbox\render_option(), GravityView_FieldType_text\render_option(), GravityView_FieldType_textarea\render_option(), GravityView_FieldType_select\render_option(), GravityView_FieldType_radio\render_option(), GravityView_FieldType_checkboxes\render_option(), GravityView_FieldType_multiselect\render_option(), GravityView_FieldType_checkbox\render_setting(), and render_setting().
render_input | ( | $override_input | ) |
important! Override this class outputs the input html part
Definition at line 269 of file class.field.type.php.
Referenced by render_setting().
render_option | ( | ) |
important! Override this class outputs the field option html
Definition at line 233 of file class.field.type.php.
render_setting | ( | $override_input = NULL | ) |
important! Override this class if needed outputs the field setting html
Definition at line 241 of file class.field.type.php.
References get_field_label(), get_tooltip(), and render_input().
show_merge_tags | ( | ) |
Verify if field should have merge tags.
Definition at line 218 of file class.field.type.php.
Referenced by GravityView_FieldType_number\render_input(), GravityView_FieldType_text\render_input(), and GravityView_FieldType_textarea\render_input().
tooltip | ( | $name, | |
$css_class = '' , |
|||
$return = false , |
|||
$article = array() |
|||
) |
Displays the tooltip.
$__gf_tooltips
string | $name | The name of the tooltip to be displayed |
string | $css_class | Optional. The CSS class to apply toi the element. Defaults to empty string. |
bool | $return | Optional. If the tooltip should be returned instead of output. Defaults to false (output) |
array | $article | Optional. Details about support doc article connected to the tooltip. { string $id Unique ID of article for Beacon API string $url URL of support doc article string $type Type of Beacon element to open. { |
Filters the tooltips available
array | $__gf_tooltips | Array containing the available tooltips |
Below this line has been modified by GravityView.
Modify the tooltip HTML before outputting
Definition at line 113 of file class.field.type.php.
Referenced by get_tooltip().
|
protected |
Definition at line 20 of file class.field.type.php.
Referenced by __construct().
|
protected |
Definition at line 13 of file class.field.type.php.
Referenced by __construct(), and tooltip().
|
protected |
Definition at line 27 of file class.field.type.php.
Referenced by GravityView_FieldType_radio\render_input(), GravityView_FieldType_select\render_input(), GravityView_FieldType_checkboxes\render_input(), and GravityView_FieldType_multiselect\render_input().