GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
includes
fields
class-gravityview-field-option.php
Go to the documentation of this file.
1
<?php
2
/**
3
* @file class-gravityview-field-option.php
4
* @package GravityView
5
* @subpackage includes\fields
6
* @since 2.17
7
*/
8
9
/**
10
* @since 2.17
11
*/
12
class
GravityView_Field_Option
extends
GravityView_Field
{
13
14
var
$name
=
'option'
;
15
16
var
$is_searchable
=
true
;
17
18
var
$is_numeric
=
false
;
19
20
var
$search_operators
= array(
'is'
,
'isnot'
,
'contains'
,
'in'
,
'not_in'
);
21
22
var
$group
=
'product'
;
23
24
var
$icon
=
'dashicons-cart'
;
25
26
/** @see GF_Field_Option */
27
var
$_gf_field_class_name
=
'GF_Field_Option'
;
28
29
public
function
__construct
() {
30
$this->label = esc_html__(
'Option'
,
'gk-gravityview'
);
31
$this->
description
= esc_attr__(
'Options for a specific product field.'
,
'gk-gravityview'
);
32
parent::__construct();
33
}
34
}
35
36
new
GravityView_Field_Option
;
GravityView_Field_Option\$icon
$icon
Definition:
class-gravityview-field-option.php:24
GravityView_Field
Modify field settings by extending this class.
Definition:
class-gravityview-field.php:11
GravityView_Field_Option\__construct
__construct()
Definition:
class-gravityview-field-option.php:29
GravityView_Field_Option\$name
$name
Definition:
class-gravityview-field-option.php:14
GravityView_Field_Option\$search_operators
$search_operators
Definition:
class-gravityview-field-option.php:20
GravityView_Field_Option\$is_searchable
$is_searchable
Definition:
class-gravityview-field-option.php:16
GV\description
scale description p description
Definition:
class-gv-settings-plugin.php:405
GravityView_Field_Option\$group
$group
Definition:
class-gravityview-field-option.php:22
GravityView_Field_Option\$_gf_field_class_name
$_gf_field_class_name
Definition:
class-gravityview-field-option.php:27
GravityView_Field_Option
Definition:
class-gravityview-field-option.php:12
GravityView_Field_Option\$is_numeric
$is_numeric
Definition:
class-gravityview-field-option.php:18
GravityView_Field_Option
new GravityView_Field_Option
Definition:
class-gravityview-field-option.php:36