original_string: protected function _getFilterUrl($withLimit = true)
      {
          $url = [
              'plugin' => $this->request->getParam('plugin'),
              'controller' => $this->request->getParam('controller'),
              'action' => $this->request->getParam('action'),
          ];
  
          foreach($this->_passParams as $name => $value) {
              $url[$name] = $value;
          }
  
          if (!empty($this->request->getParam('sluggedFilter'))) {
              $url['sluggedFilter'] = $this->request->getParam('sluggedFilter');
          };
  
          $limit = $this->request->getData('l');
  
          if ($withLimit && !empty($limit) && $limit !== $this->paginationParams['defaultLimit']) {
              $url['?']['l'] = $limit;
          }
  
          return $url;
      }
code: protected function _getFilterUrl($withLimit = true)
      {
          $url = [
              'plugin' => $this->request->getParam('plugin'),
              'controller' => $this->request->getParam('controller'),
              'action' => $this->request->getParam('action'),
          ];
  
          foreach($this->_passParams as $name => $value) {
              $url[$name] = $value;
          }
  
          if (!empty($this->request->getParam('sluggedFilter'))) {
              $url['sluggedFilter'] = $this->request->getParam('sluggedFilter');
          };
  
          $limit = $this->request->getData('l');
  
          if ($withLimit && !empty($limit) && $limit !== $this->paginationParams['defaultLimit']) {
              $url['?']['l'] = $limit;
          }
  
          return $url;
      }
code_tokens: protected function _getFilterUrl ( $ withLimit = true ) { $ url = [ 'plugin' => $ this -> request -> getParam ( 'plugin' ) , 'controller' => $ this -> request -> getParam ( 'controller' ) , 'action' => $ this -> request -> getParam ( 'action' ) , ] ; foreach ( $ this -> _passParams as $ name => $ value ) { $ url [ $ name ] = $ value ; } if ( ! empty ( $ this -> request -> getParam ( 'sluggedFilter' ) ) ) { $ url [ 'sluggedFilter' ] = $ this -> request -> getParam ( 'sluggedFilter' ) ; } ; $ limit = $ this -> request -> getData ( 'l' ) ; if ( $ withLimit && ! empty ( $ limit ) && $ limit !== $ this -> paginationParams [ 'defaultLimit' ] ) { $ url [ '?' ] [ 'l' ] = $ limit ; } return $ url ; }
docstring: Get the filter url.
  
  @param boolean $withLimit
  @return array
docstring_tokens: Get the filter url .