Panel   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setMethod() 0 3 1
A setUrl() 0 3 1
1
<?php
2
/**
3
 * ExtForms - Panel.php
4
 *
5
 * Initial version by: MisterX
6
 * Initial version created on: 31.07.2015
7
 */
8
9
namespace Ext\Form;
10
11
12
class Panel extends \Ext\Panel\Panel
13
{
14
15
	/**
16
	 * The request method to use (GET or POST) for form actions if one isn't supplied in the action options.
17
	 * @param string $method
18
	 * @return $this
19
	 */
20
	public function setMethod($method){
21
		return $this->setProperty('method',$method);
22
	}
23
24
	public function setUrl($url){
25
		return $this->setProperty('url',$url);
26
	}
27
}