|
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
|
|
|
} |