includes/fields/class-gravityview-field-multiselect.php 1 location
|
@@ 3-17 (lines=15) @@
|
| 1 |
|
<?php |
| 2 |
|
|
| 3 |
|
class GravityView_Field_MultiSelect extends GravityView_Field { |
| 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 |
|
|
includes/fields/class-gravityview-field-radio.php 1 location
|
@@ 3-18 (lines=16) @@
|
| 1 |
|
<?php |
| 2 |
|
|
| 3 |
|
class GravityView_Field_Radio extends GravityView_Field { |
| 4 |
|
|
| 5 |
|
var $name = 'radio'; |
| 6 |
|
|
| 7 |
|
var $search_operators = array( 'is', 'in', 'not in', 'isnot', 'contains'); |
| 8 |
|
|
| 9 |
|
var $_gf_field_class_name = 'GF_Field_Radio'; |
| 10 |
|
|
| 11 |
|
var $label = 'Radio Buttons'; |
| 12 |
|
|
| 13 |
|
public function __construct() { |
| 14 |
|
$this->label = esc_attr__( 'Radio Buttons', 'gravityview' ); |
| 15 |
|
parent::__construct(); |
| 16 |
|
} |
| 17 |
|
|
| 18 |
|
} |
| 19 |
|
|
| 20 |
|
new GravityView_Field_Radio; |
| 21 |
|
|
includes/fields/class-gravityview-field-text.php 1 location
|
@@ 3-17 (lines=15) @@
|
| 1 |
|
<?php |
| 2 |
|
|
| 3 |
|
class GravityView_Field_Text extends GravityView_Field { |
| 4 |
|
|
| 5 |
|
var $name = 'text'; |
| 6 |
|
|
| 7 |
|
var $_gf_field_class_name = 'GF_Field_Text'; |
| 8 |
|
|
| 9 |
|
var $search_operators = array( 'contains', 'is', 'isnot', 'starts_with', 'ends_with' ); |
| 10 |
|
|
| 11 |
|
var $label = 'Single Line Text'; |
| 12 |
|
|
| 13 |
|
public function __construct() { |
| 14 |
|
$this->label = esc_attr__( 'Single Line Text', 'gravityview' ); |
| 15 |
|
parent::__construct(); |
| 16 |
|
} |
| 17 |
|
} |
| 18 |
|
|
| 19 |
|
new GravityView_Field_Text; |
| 20 |
|
|