Base::getShowMenu()   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 0
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
}