Package: Form
A Zend_Form subclass that sets up forms to be properly displayed in Omeka.
Class name of Omeka DisplayGroup subclass.
Whether or not to automatically apply Omeka-specific decorators and styling information to form elements prior to rendering.
Set up Omeka-specific form elements and decorators.
Returns: | void |
---|
Set up base form decorators.
Returns: | void |
---|
Return default decorators for form elements.
Makes form output conform to Omeka conventions.
Returns: | array |
---|
Configure element styles / decorators based on the type of element.
This may be called after elements to the form, as the decoratorconfiguration in init() runs before elements can be added.
Returns: | void |
---|
Retrieve all of the form error messages as a nicely formatted string.
Useful for displaying all form errors at the top of a form, or for flashingform errors after redirects.
Parameters: |
|
---|---|
Returns: | string |
Specify whether or not to automatically apply Omeka-specific decorators and styles prior to rendering the form.
Parameters: |
|
---|---|
Returns: | void |
Apply Omeka default styles (if requested) just before rendering.
Parameters: |
|
---|---|
Returns: | string |
Add a specific class name to an element.
Parameters: |
|
---|---|
Returns: | void |