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