| Fully Qualified Name: | Laminas\Form\View\Helper\FormElement | 
| Extends: | AbstractHelper | 
| Name | Description | Defined By | 
|---|---|---|
| __invoke() | Invoke helper as function | FormElement | 
| addClass() | Add instance class to plugin map | FormElement | 
| addType() | Add form element type to plugin map | FormElement | 
| getView() | Get the view object | AbstractHelper | 
| render() | Render an element | FormElement | 
| setDefaultHelper() | Set default helper name | FormElement | 
| setView() | Set the View object | AbstractHelper | 
Invoke helper as function
Proxies to {@link render()}.
| Parameter Name | Type | Description | 
|---|---|---|
| $element | \ElementInterface|null | 
Returns: string
Add instance class to plugin map
| Parameter Name | Type | Description | 
|---|---|---|
| $class | string | |
| $plugin | string | 
Returns: $this
Add form element type to plugin map
| Parameter Name | Type | Description | 
|---|---|---|
| $type | string | |
| $plugin | string | 
Returns: $this
Get the view object
Returns: null|\Renderer
Render an element
Introspects the element type and attributes to determine which helper to utilize when rendering.
| Parameter Name | Type | Description | 
|---|---|---|
| $element | \ElementInterface | 
Returns: string
Set default helper name
| Parameter Name | Type | Description | 
|---|---|---|
| $name | string | 
Returns: $this
Set the View object
| Parameter Name | Type | Description | 
|---|---|---|
| $view | \Renderer | 
Returns: \AbstractHelper