public function getParam($param)
    {
        $value = $this->getGravParam($param);
        if ($value === null) {
            $value = $this->getQueryParam($param);
        }

        return $value;
    }
public function getParam($param)
    {
        $value = $this->getGravParam($param);
        if ($value === null) {
            $value = $this->getQueryParam($param);
        }

        return $value;
    }
public function getParam ( $ param ) { $ value = $ this -> getGravParam ( $ param ) ; if ( $ value === null ) { $ value = $ this -> getQueryParam ( $ param ) ; } return $ value ; }
Return value of the parameter, looking into both Grav parameters and query parameters.

If the parameter exists in both, return Grav parameter.

@param string $param
@return string|null
Return value of the parameter looking into both Grav parameters and query parameters .