Browse Source

Merge pull request #1209 from egorpromo/eliminating-get-in-request

Must be one method to get _GET.
tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
c16485663b
  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