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