Fixed var names for framework.

This commit is contained in:
Dmitry Khomutov 2018-01-18 21:51:33 +07:00
commit dd1d7e2be3
No known key found for this signature in database
GPG key ID: EC19426474B37AAC
25 changed files with 196 additions and 98 deletions

View file

@ -9,19 +9,19 @@ class Form extends FieldSet
/**
* @var string
*/
protected $_action = '';
protected $action = '';
/**
* @var string
*/
protected $_method = 'POST';
protected $method = 'POST';
/**
* @return string
*/
public function getAction()
{
return $this->_action;
return $this->action;
}
/**
@ -29,7 +29,7 @@ class Form extends FieldSet
*/
public function setAction($action)
{
$this->_action = $action;
$this->action = $action;
}
/**
@ -37,7 +37,7 @@ class Form extends FieldSet
*/
public function getMethod()
{
return $this->_method;
return $this->method;
}
/**
@ -45,7 +45,7 @@ class Form extends FieldSet
*/
public function setMethod($method)
{
$this->_method = $method;
$this->method = $method;
}
/**