gravityview /
GravityView
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * @file class-gravityview-field-multiselect.php |
||
| 4 | * @package GravityView |
||
| 5 | * @subpackage includes\fields |
||
| 6 | */ |
||
| 7 | |||
| 8 | class GravityView_Field_MultiSelect extends GravityView_Field { |
||
| 9 | |||
| 10 | var $name = 'multiselect'; |
||
|
0 ignored issues
–
show
|
|||
| 11 | |||
| 12 | /** |
||
| 13 | * @see GFCommon::get_field_filter_settings Gravity Forms suggests checkboxes should just be "contains" |
||
| 14 | * @var array |
||
| 15 | */ |
||
| 16 | var $search_operators = array( 'is', 'in', 'not in', 'isnot', 'contains'); |
||
| 17 | |||
| 18 | var $is_searchable = true; |
||
| 19 | |||
| 20 | /** @see GF_Field_MultiSelect */ |
||
| 21 | var $_gf_field_class_name = 'GF_Field_MultiSelect'; |
||
| 22 | |||
| 23 | var $group = 'standard'; |
||
| 24 | |||
| 25 | public function __construct() { |
||
| 26 | $this->label = esc_html__( 'Multi Select', 'gravityview' ); |
||
| 27 | parent::__construct(); |
||
| 28 | } |
||
| 29 | } |
||
| 30 | |||
| 31 | new GravityView_Field_MultiSelect; |
||
| 32 |
The PSR-2 coding standard requires that all properties in a class have their visibility explicitly declared. If you declare a property using
the property is implicitly global.
To learn more about the PSR-2, please see the PHP-FIG site on the PSR-2.