Zend url : get parameter always stay in the url

后端 未结 2 1041
陌清茗
陌清茗 2021-01-28 02:49

I have some trouble using the Zend url helper with get parameter. In a view, I have pagination which send extra parameters in get (so in the url), so that\'s ok. But that is not

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-28 03:30

    The definition or url() is

    public function url(array $urlOptions = array(), $name = null, $reset = false, $encode = true)
    

    So try setting the third parameter ($reset) to true

提交回复
热议问题