FormType字段...翻译中

3.4 版本
维护中的版本

EN本篇文档待译。点击查看官方英文原档。我们将很快返回这里,敬请期待。

The FormType predefines a couple of options that are then available on all types for which FormType is the parent.

Options
选项
Inherited options
继承的选项
Parent
父类型
none
Class
FormType

字段选项 

action 

值类型: string 默认值: 空字符串

This option specifies where to send the form's data on submission (usually a URI). Its value is rendered as the action attribute of the form element. An empty value is considered a same-document reference, i.e. the form will be submitted to the same URI that rendered the form.

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

继承的选项 

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

- - -- - -

本文,包括例程代码在内,采用的是 Creative Commons BY-SA 3.0 创作共用授权。

登录symfonychina 发表评论或留下问题(我们会尽量回复)