src/FrontendIntegration/HybridFilterClearAll.php
protected function compile()
    {
        $blnActiveParam   = false;
        $arrPage          = $GLOBALS['objPage']->row();
        $arrGetParameters = array();

        foreach (array_keys($_GET) as $mixGetKey) {
            if (in_array($mixGetKey, $GLOBALS['MM_FILTER_PARAMS'])) {
                $blnActiveParam = true;
                continue;
            }

            $arrGetParameters[$mixGetKey] = \Input::get($mixGetKey, false, true);
        }

        // Check if we have filter and if we have active params.
        $this->Template->active      = (
            !is_array($GLOBALS['MM_FILTER_PARAMS'])
            || count($GLOBALS['MM_FILTER_PARAMS']) == 0
        );
        $this->Template->activeParam = $blnActiveParam;

        // Build FE url.
        $this->Template->href = $this->generateFrontendUrl($arrPage, $this->getJumpToUrl($arrGetParameters));
    }
protected function compile()
    {
        $blnActiveParam   = false;
        $arrPage          = $GLOBALS['objPage']->row();
        $arrGetParameters = array();

        foreach (array_keys($_GET) as $mixGetKey) {
            if (in_array($mixGetKey, $GLOBALS['MM_FILTER_PARAMS'])) {
                $blnActiveParam = true;
                continue;
            }

            $arrGetParameters[$mixGetKey] = \Input::get($mixGetKey, false, true);
        }

        // Check if we have filter and if we have active params.
        $this->Template->active      = (
            !is_array($GLOBALS['MM_FILTER_PARAMS'])
            || count($GLOBALS['MM_FILTER_PARAMS']) == 0
        );
        $this->Template->activeParam = $blnActiveParam;

        // Build FE url.
        $this->Template->href = $this->generateFrontendUrl($arrPage, $this->getJumpToUrl($arrGetParameters));
    }
protected function compile ( ) { $ blnActiveParam = false ; $ arrPage = $ GLOBALS [ 'objPage' ] -> row ( ) ; $ arrGetParameters = array ( ) ; foreach ( array_keys ( $ _GET ) as $ mixGetKey ) { if ( in_array ( $ mixGetKey , $ GLOBALS [ 'MM_FILTER_PARAMS' ] ) ) { $ blnActiveParam = true ; continue ; } $ arrGetParameters [ $ mixGetKey ] = \ Input :: get ( $ mixGetKey , false , true ) ; } // Check if we have filter and if we have active params. $ this -> Template -> active = ( ! is_array ( $ GLOBALS [ 'MM_FILTER_PARAMS' ] ) || count ( $ GLOBALS [ 'MM_FILTER_PARAMS' ] ) == 0 ) ; $ this -> Template -> activeParam = $ blnActiveParam ; // Build FE url. $ this -> Template -> href = $ this -> generateFrontendUrl ( $ arrPage , $ this -> getJumpToUrl ( $ arrGetParameters ) ) ; }
Generate the module.

@return void

@SuppressWarnings(PHPMD.Superglobals)
@SuppressWarnings(PHPMD.CamelCaseVariableName)
Generate the module .