Browse Source

Must be one method to get _GET. getGet() is just duplication

tags/2.0.0-beta
egorpromo 11 years ago
parent
commit
c16c181247
  1. 9
      framework/yii/web/Request.php

9
framework/yii/web/Request.php

@ -312,15 +312,6 @@ class Request extends \yii\base\Request
} }
/** /**
* Returns the GET request parameter values.
* @return array the GET request parameter values
*/
public function getGet()
{
return $_GET;
}
/**
* Returns the named POST parameter value. * Returns the named POST parameter value.
* If the POST parameter does not exist, the second parameter to this method will be returned. * If the POST parameter does not exist, the second parameter to this method will be returned.
* @param string $name the POST parameter name. If not specified, whole $_POST is returned. * @param string $name the POST parameter name. If not specified, whole $_POST is returned.

Loading…
Cancel
Save