Completed
Push — master ( 477a35...b01591 )
by Zack
36:36 queued 19:52
created

GravityView_Field_Date_Updated   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
/**
3
 * @file class-gravityview-field-date-updated.php
4
 * @package GravityView
5
 * @subpackage includes\fields
6
 */
7
8
class GravityView_Field_Date_Updated extends GravityView_Field_Date_Created {
9
10
	var $name = 'date_updated';
11
12
	var $_custom_merge_tag = 'date_updated';
13
14
	/**
15
	 * GravityView_Field_Date_Updated constructor.
16
	 */
17
	public function __construct() {
18
		parent::__construct();
19
20
		$this->label = esc_html__( 'Date Updated', 'gravityview' );
21
		$this->default_search_label = $this->label;
22
		$this->description = esc_html__( 'The date the entry was last updated.', 'gravityview' );
23
	}
24
}
25
26
new GravityView_Field_Date_Updated;
27