sfWidgetFormInput
extends sfWidgetForm
in package
Table of Contents
Methods
- __construct() : mixed
- addOption() : mixed
- addRequiredOption() : mixed
- attributesToHtml() : mixed
- Convert an array of attributes to HTML attribute string.
- generateId() : mixed
- getAttribute() : mixed
- getAttributes() : mixed
- getJavaScripts() : mixed
- getLabel() : mixed
- getOption() : mixed
- getOptions() : mixed
- getStylesheets() : mixed
- hasOption() : mixed
- isHidden() : mixed
- needsMultipartForm() : mixed
- render() : mixed
- renderContentTag() : mixed
- Render an HTML content tag (with opening and closing tags).
- renderTag() : mixed
- Render an HTML tag.
- setAttribute() : mixed
- setAttributes() : mixed
- setLabel() : mixed
- setOption() : mixed
- translate() : mixed
- Translate a string (passthrough — real translation handled elsewhere).
Methods
__construct()
public
__construct([mixed $options = [] ][, mixed $attributes = [] ]) : mixed
Parameters
- $options : mixed = []
- $attributes : mixed = []
addOption()
public
addOption(mixed $name[, mixed $default = null ]) : mixed
Parameters
- $name : mixed
- $default : mixed = null
addRequiredOption()
public
addRequiredOption(mixed $name) : mixed
Parameters
- $name : mixed
attributesToHtml()
Convert an array of attributes to HTML attribute string.
public
attributesToHtml(mixed $attributes) : mixed
Parameters
- $attributes : mixed
generateId()
public
generateId(mixed $name[, mixed $value = null ]) : mixed
Parameters
- $name : mixed
- $value : mixed = null
getAttribute()
public
getAttribute(mixed $name) : mixed
Parameters
- $name : mixed
getAttributes()
public
getAttributes() : mixed
getJavaScripts()
public
getJavaScripts() : mixed
getLabel()
public
getLabel() : mixed
getOption()
public
getOption(mixed $name) : mixed
Parameters
- $name : mixed
getOptions()
public
getOptions() : mixed
getStylesheets()
public
getStylesheets() : mixed
hasOption()
public
hasOption(mixed $name) : mixed
Parameters
- $name : mixed
isHidden()
public
isHidden() : mixed
needsMultipartForm()
public
needsMultipartForm() : mixed
render()
public
render(mixed $name[, mixed $value = null ][, mixed $attributes = [] ][, mixed $errors = [] ]) : mixed
Parameters
- $name : mixed
- $value : mixed = null
- $attributes : mixed = []
- $errors : mixed = []
renderContentTag()
Render an HTML content tag (with opening and closing tags).
public
renderContentTag(mixed $tag[, mixed $content = '' ][, mixed $attributes = [] ]) : mixed
Parameters
- $tag : mixed
- $content : mixed = ''
- $attributes : mixed = []
renderTag()
Render an HTML tag.
public
renderTag(mixed $tag[, mixed $attributes = [] ]) : mixed
Parameters
- $tag : mixed
- $attributes : mixed = []
setAttribute()
public
setAttribute(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed
setAttributes()
public
setAttributes(mixed $attributes) : mixed
Parameters
- $attributes : mixed
setLabel()
public
setLabel(mixed $label) : mixed
Parameters
- $label : mixed
setOption()
public
setOption(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed
translate()
Translate a string (passthrough — real translation handled elsewhere).
public
translate(mixed $text[, mixed $args = [] ]) : mixed
Parameters
- $text : mixed
- $args : mixed = []