Completed
Push — develop ( fc0354...e2ac27 )
by Zack
11:27 queued 07:24
created

GravityView_Field_MultiSelect::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 3

Duplication

Lines 4
Ratio 100 %
Metric Value
dl 4
loc 4
rs 10
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3 View Code Duplication
class GravityView_Field_MultiSelect extends GravityView_Field {
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
4
5
	var $name = 'multiselect';
6
7
	var $search_operators = array( 'is', 'in', 'not in', 'isnot', 'contains');
8
9
	var $_gf_field_class_name = 'GF_Field_MultiSelect';
10
11
	var $label = 'Multi Select';
12
13
	public function __construct() {
14
		$this->label = esc_attr__( 'Multi Select', 'gravityview' );
15
		parent::__construct();
16
	}
17
}
18
19
new GravityView_Field_MultiSelect;
20