doudun2565
2013-07-17 07:56
浏览 47
已采纳

Symfony 2.3中的表单字段属性

It was possible in Symfony 2.2 to access form field attributes in template this way:

<?php $form['field_name']->get('field_attribute') ?>

How can i do this in Symfony 2.3? FormView object doesn't have this function any more.

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题