Panel::setUrl()   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 - 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
}