protected function getParamOptions($checkParam)
    {
        if (isset($this->allowedParams[$checkParam])) {
            return array('param' => $checkParam, 'options' => $this->allowedParams[$checkParam]);
        } else {
            foreach ($this->allowedParams as $param => $options) {
                if (! empty($options['alias']) && in_array($checkParam, (array) $options['alias'])) {
                    return compact('param', 'options');
                }
            }
        }

        return false;
    }
protected function getParamOptions($checkParam)
    {
        if (isset($this->allowedParams[$checkParam])) {
            return array('param' => $checkParam, 'options' => $this->allowedParams[$checkParam]);
        } else {
            foreach ($this->allowedParams as $param => $options) {
                if (! empty($options['alias']) && in_array($checkParam, (array) $options['alias'])) {
                    return compact('param', 'options');
                }
            }
        }

        return false;
    }
protected function getParamOptions ( $ checkParam ) { if ( isset ( $ this -> allowedParams [ $ checkParam ] ) ) { return array ( 'param' => $ checkParam , 'options' => $ this -> allowedParams [ $ checkParam ] ) ; } else { foreach ( $ this -> allowedParams as $ param => $ options ) { if ( ! empty ( $ options [ 'alias' ] ) && in_array ( $ checkParam , ( array ) $ options [ 'alias' ] ) ) { return compact ( 'param' , 'options' ) ; } } } return false ; }
Grabs the params options taking into account any aliases

@param $checkParam

@return bool|array
Grabs the params options taking into account any aliases