Number::setDecimalSeparator()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/**
3
 * ExtForms - Number.php
4
 *
5
 * Initial version by: MisterX
6
 * Initial version created on: 06.08.2015
7
 */
8
9
namespace Ext\Form\Field;
10
11
12
class Number extends Text
13
{
14
15
	public function setMaxValue($maxValue){
16
		return $this->setProperty('maxValue',$maxValue);
17
	}
18
19
	public function getMaxValue(){
20
		return $this->getProperty('maxValue');
21
	}
22
23
	public function setMinValue($minValue){
24
		return $this->setProperty('minValue',$minValue);
25
	}
26
27
	public function getMinValue(){
28
		return $this->getProperty('minValue');
29
	}
30
31
	public function setAllowDecimals($allowDecimals){
32
		return $this->setProperty('allowDecimals',(bool)$allowDecimals);
33
	}
34
35
	public function getAllowDecimals(){
36
		return $this->getProperty('allowDecimals');
37
	}
38
39
	public function setDecimalPrecision($decimalPrecision){
40
		return $this->setProperty('decimalPrecision',$decimalPrecision);
41
	}
42
43
	public function getDecimalPrecision(){
44
		return $this->getProperty('decimalPrecision');
45
	}
46
47
	public function setDecimalSeparator($decimalSeparator){
48
		return $this->setProperty('decimalSeparator',$decimalSeparator);
49
	}
50
51
	public function getDecimalSeparator(){
52
		return $this->getProperty('decimalSeparator');
53
	}
54
55
56
57
58
59
60
61
62
}