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