lib/components/rest/ParamBehavior.php
protected function getParam($param)
    {
        if (isset($_POST[$param])) {
            return $_POST[$param];
        } elseif (isset($_GET[$param])) {
            return $_GET[$param];
        }

        return;
    }
protected function getParam($param)
    {
        if (isset($_POST[$param])) {
            return $_POST[$param];
        } elseif (isset($_GET[$param])) {
            return $_GET[$param];
        }

        return;
    }
Get param.

@param [[@doctodo param_type:param]] $param [[@doctodo param_description:param]]

@return [[@doctodo return_type:getParam]] [[@doctodo return_description:getParam]]