GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
includes
fields
class-gravityview-field-text.php
Go to the documentation of this file.
1
<?php
2
/**
3
* @file class-gravityview-field-text.php
4
* @package GravityView
5
* @subpackage includes\fields
6
*/
7
8
class
GravityView_Field_Text
extends
GravityView_Field
{
9
10
var
$name
=
'text'
;
11
12
var
$_gf_field_class_name
=
'GF_Field_Text'
;
13
14
var
$is_searchable
=
true
;
15
16
var
$search_operators
= array(
'contains'
,
'is'
,
'isnot'
,
'starts_with'
,
'ends_with'
);
17
18
var
$group
=
'standard'
;
19
20
var
$icon
=
'dashicons-editor-textcolor'
;
21
22
public
function
__construct
() {
23
$this->label = esc_html__(
'Single Line Text'
,
'gk-gravityview'
);
24
parent::__construct();
25
}
26
}
27
28
new
GravityView_Field_Text
;
GravityView_Field
Modify field settings by extending this class.
Definition:
class-gravityview-field.php:11
GravityView_Field_Text\$is_searchable
$is_searchable
Definition:
class-gravityview-field-text.php:14
GravityView_Field_Text
new GravityView_Field_Text
Definition:
class-gravityview-field-text.php:28
GravityView_Field_Text\$search_operators
$search_operators
Definition:
class-gravityview-field-text.php:16
GravityView_Field_Text\__construct
__construct()
Definition:
class-gravityview-field-text.php:22
GravityView_Field_Text\$group
$group
Definition:
class-gravityview-field-text.php:18
GravityView_Field_Text\$icon
$icon
Definition:
class-gravityview-field-text.php:20
GravityView_Field_Text\$_gf_field_class_name
$_gf_field_class_name
Definition:
class-gravityview-field-text.php:12
GravityView_Field_Text
Definition:
class-gravityview-field-text.php:8
GravityView_Field_Text\$name
$name
Definition:
class-gravityview-field-text.php:10