src/FrontendIntegration/FrontendFilter.php
protected function getParams()
    {
        // @codingStandardsIgnoreStart
        @trigger_error(
            sprintf('"%1$s" has been deprecated in favor of the new "FilterUrlBuilder"', __METHOD__),
            E_USER_DEPRECATED
        );
        // @codingStandardsIgnoreEnd
        $arrWantedParam = $this->getWantedNames();
        $arrMyParams    = $arrOtherParams = array();

        if ($_GET) {
            foreach (array_keys($_GET) as $strParam) {
                if (in_array($strParam, $arrWantedParam)) {
                    $arrMyParams[$strParam] = Input::get($strParam);
                } elseif ($strParam != 'page') {
                    // Add only to the array if param is not page.
                    $arrOtherParams[$strParam] = Input::get($strParam);
                }
            }
        }

        // if POST, translate to proper GET url
        if ($_POST && (Input::post('FORM_SUBMIT') == $this->formId)) {
            foreach (array_keys($_POST) as $strParam) {
                if (in_array($strParam, $arrWantedParam)) {
                    $arrMyParams[$strParam] = Input::post($strParam);
                }
            }
        }

        return array
        (
            'filter' => $arrMyParams,
            'other' => $arrOtherParams,
            'all' => array_merge($arrOtherParams, $arrMyParams)
        );
    }
protected function getParams()
    {
        // @codingStandardsIgnoreStart
        @trigger_error(
            sprintf('"%1$s" has been deprecated in favor of the new "FilterUrlBuilder"', __METHOD__),
            E_USER_DEPRECATED
        );
        // @codingStandardsIgnoreEnd
        $arrWantedParam = $this->getWantedNames();
        $arrMyParams    = $arrOtherParams = array();

        if ($_GET) {
            foreach (array_keys($_GET) as $strParam) {
                if (in_array($strParam, $arrWantedParam)) {
                    $arrMyParams[$strParam] = Input::get($strParam);
                } elseif ($strParam != 'page') {
                    // Add only to the array if param is not page.
                    $arrOtherParams[$strParam] = Input::get($strParam);
                }
            }
        }

        // if POST, translate to proper GET url
        if ($_POST && (Input::post('FORM_SUBMIT') == $this->formId)) {
            foreach (array_keys($_POST) as $strParam) {
                if (in_array($strParam, $arrWantedParam)) {
                    $arrMyParams[$strParam] = Input::post($strParam);
                }
            }
        }

        return array
        (
            'filter' => $arrMyParams,
            'other' => $arrOtherParams,
            'all' => array_merge($arrOtherParams, $arrMyParams)
        );
    }
Retrieve the parameter values.

@return array

@SuppressWarnings(PHPMD.Superglobals)
@SuppressWarnings(PHPMD.CamelCaseVariableName)

@deprecated Do not use.