ComboBox::setTypeAhead()   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 - 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
}