Base   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Coupling/Cohesion

Components 2
Dependencies 1

Importance

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

6 Methods

Rating   Name   Duplication   Size   Complexity  
A setDataIndex() 0 3 1
A getDataIndex() 0 3 1
A setValue() 0 3 1
A getValue() 0 3 1
A setShowMenu() 0 3 1
A getShowMenu() 0 3 1
1
<?php
2
namespace Ext\Grid\Filters\Filter;
3
4
5
class Base extends \Ext\Plugin\Base
6
{
7
	public function setDataIndex($dataIndex){
8
		return $this->setProperty('dataIndex',$dataIndex);
9
	}
10
11
	public function getDataIndex(){
12
		return $this->getProperty('dataIndex');
13
	}
14
15
	public function setValue($value){
16
		return $this->setProperty('value',$value);
17
	}
18
19
	public function getValue(){
20
		return $this->getProperty('value');
21
	}
22
23
	/**
24
	 * Defaults to true, including a filter submenu in the default header menu.
25
	 * @param $showMenu
26
	 * @return $this
27
	 */
28
	public function setShowMenu($showMenu){
29
		return $this->setProperty('showMenu',(bool)$showMenu);
30
	}
31
32
	public function getShowMenu(){
33
		return $this->getProperty('showMenu');
34
	}
35
36
37
38
39
40
}