Date   A
last analyzed

Complexity

Total Complexity 12

Size/Duplication

Total Lines 52
Duplicated Lines 0 %

Coupling/Cohesion

Components 2
Dependencies 1

Importance

Changes 0
Metric Value
wmc 12
lcom 2
cbo 1
dl 0
loc 52
rs 10
c 0
b 0
f 0

12 Methods

Rating   Name   Duplication   Size   Complexity  
A setFormat() 0 3 1
A getFormat() 0 3 1
A setShowToday() 0 3 1
A getShowToday() 0 3 1
A setStartDay() 0 3 1
A getStartDay() 0 3 1
A setSubmitFormat() 0 3 1
A getSubmitFormat() 0 3 1
A setMinValue() 0 3 1
A getMinValue() 0 3 1
A setMaxValue() 0 3 1
A getMaxValue() 0 3 1
1
<?php
2
/**
3
 * ExtForms - Date.php
4
 *
5
 * Initial version by: MisterX
6
 * Initial version created on: 31.07.2015
7
 */
8
9
namespace Ext\Form\Field;
10
11
12
class Date extends Base
13
{
14
15
	public function setFormat($format){
16
		return $this->setProperty('format',$format);
17
	}
18
	
19
	public function getFormat(){
20
		return $this->getProperty('format');
21
	}
22
23
	public function setShowToday($showToday){
24
		return $this->setProperty('showToday',$showToday);
25
	}
26
27
	public function getShowToday(){
28
		return $this->getProperty('showToday');
29
	}
30
31
	public function setStartDay($startDay){
32
		return $this->setProperty('startDay',$startDay);
33
	}
34
35
	public function getStartDay(){
36
		return $this->getProperty('startDay');
37
	}
38
39
	public function setSubmitFormat($submitFormat){
40
		return $this->setProperty('submitFormat',$submitFormat);
41
	}
42
43
	public function getSubmitFormat(){
44
		return $this->getProperty('submitFormat');
45
	}
46
47
	public function setMinValue($minValue){
48
		return $this->setProperty('minValue',$minValue);
49
	}
50
51
	public function getMinValue(){
52
		return $this->getProperty('minValue');
53
	}
54
55
	public function setMaxValue($maxValue){
56
		return $this->setProperty('maxValue',$maxValue);
57
	}
58
59
	public function getMaxValue(){
60
		return $this->getProperty('maxValue');
61
	}
62
63
}