我使用表单过滤来过滤前端中的数据。symfony:如何摆脱丑陋的GET参数
的问题是,该网址是丑陋
http://............./players/game/?st_player_cv_filters[location_id]=1&st_player_cv_filters[plateforme_id]=3&st_player_cv_filters[level_id]=3&st_player_cv_filters[_csrf_token]=023c5c9fb5fc7e7b6ed60d6839c36f67
(形式呈现:
<?php echo $form->renderFormTag(url_for("game_player", $game), array('method' => 'get')); ?>
<table><tr><th><label for="location_id"><?php echo __('Country'); ?></label></th><td><?php echo $form['location_id']; ?></td></tr>
如何呈现的网址,一个更好的办法,请
感谢
耶,但与POST用户不能书签过滤器的结果的结果。并与POST我无法通过页面保持参数(教条传呼机) – 2010-10-09 23:52:57