Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
树枝中是否有任何方法可以使 KnpPaginatorBundle 自动生成其查询字符串?我想要这样的东西:
?sort=id&page=2当我调用这样的函数时自动插入:knp_current_parameters()
?sort=id&page=2
knp_current_parameters()
那么,有这样的功能吗?
或者如何生成一个包含排序和页面参数的链接,而无需在控制器中手动传递它们?