ComboBox   A
last analyzed

Complexity

Total Complexity 14

Size/Duplication

Total Lines 62
Duplicated Lines 0 %

Coupling/Cohesion

Components 2
Dependencies 2

Importance

Changes 0
Metric Value
wmc 14
lcom 2
cbo 2
dl 0
loc 62
rs 10
c 0
b 0
f 0

14 Methods

Rating   Name   Duplication   Size   Complexity  
A setValueField() 0 3 1
A getValueField() 0 3 1
A setDisplayField() 0 3 1
A getDisplayField() 0 3 1
A setTypeAhead() 0 3 1
A getTypeAhead() 0 3 1
A setAutoSelect() 0 3 1
A getAutoSelect() 0 3 1
A setForceSelection() 0 3 1
A getForceSelection() 0 3 1
A setQueryMode() 0 3 1
A getQueryMode() 0 3 1
A setAutoLoadOnValue() 0 3 1
A getAutoLoadOnValue() 0 3 1
1
<?php
2
/**
3
 * ExtForms - ComboBox.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
use Ext\Util\StoreHolder;
13
14
class ComboBox extends Picker
15
{
16
	use StoreHolder;
17
18
	public function setValueField($valueField){
19
		return $this->setProperty('valueField',$valueField);
20
	}
21
22
	public function getValueField(){
23
		return $this->getProperty('valueField');
24
	}
25
26
27
	public function setDisplayField($displayField){
28
		return $this->setProperty('displayField',$displayField);
29
	}
30
31
	public function getDisplayField(){
32
		return $this->getProperty('displayField');
33
	}
34
35
	public function setTypeAhead($typeAhead){
36
		return $this->setProperty('typeAhead',(bool)$typeAhead);
37
	}
38
39
	public function getTypeAhead(){
40
		return $this->getProperty('typeAhead');
41
	}
42
43
	public function setAutoSelect($autoSelect){
44
		return $this->setProperty('autoSelect',(bool)$autoSelect);
45
	}
46
47
	public function getAutoSelect(){
48
		return $this->getProperty('autoSelect');
49
	}
50
51
	public function setForceSelection($forceSelection){
52
		return $this->setProperty('forceSelection',(bool)$forceSelection);
53
	}
54
55
	public function getForceSelection(){
56
		return $this->getProperty('forceSelection');
57
	}
58
59
	public function setQueryMode($queryMode){
60
		return $this->setProperty('queryMode',$queryMode);
61
	}
62
63
	public function getQueryMode(){
64
		return $this->getProperty('queryMode');
65
	}
66
67
	public function setAutoLoadOnValue($autoLoadOnValue){
68
		return $this->setProperty('autoLoadOnValue',$autoLoadOnValue);
69
	}
70
71
	public function getAutoLoadOnValue(){
72
		return $this->getProperty('autoLoadOnValue');
73
	}
74
75
}