framework/web/Request.php
public function get($paramName = null, $default = null)
    {
        $result = $default;

        $params = $this->getRequestParams();

        if ($paramName === null) {
            $result = $params;
        } elseif (isset($params[$paramName])) {
            $result = $params[$paramName];
        }

        return $result;
    }
public function get($paramName = null, $default = null)
    {
        $result = $default;

        $params = $this->getRequestParams();

        if ($paramName === null) {
            $result = $params;
        } elseif (isset($params[$paramName])) {
            $result = $params[$paramName];
        }

        return $result;
    }
public function get ( $ paramName = null , $ default = null ) { $ result = $ default ; $ params = $ this -> getRequestParams ( ) ; if ( $ paramName === null ) { $ result = $ params ; } elseif ( isset ( $ params [ $ paramName ] ) ) { $ result = $ params [ $ paramName ] ; } return $ result ; }
Get param value by name

@param string $paramName
@param mixed $default
@return mized
Get param value by name