Summary
- File
- Package hierarchy Form\fieldset
- Class hierarchy \AbstractFormFieldset \FormFieldsetVertical
__construct( $id, $options = array())
$id | ||
$options |
None found |
get_id()
None found |
set_description( $description)
$description |
None found |
get_html_id()
None found |
add_field(\FormField $field)
Store fields in the fieldset.
\FormField | $field | The field to add |
None found |
add_element(\FormElement $element)
Adds a form element to the fieldset
\FormElement | $element | The element to add |
None found |
set_form_id( $form_id)
Sets the id prefix for fields
$form_id |
None found |
validate()
None found |
get_onsubmit_validations()
None found |
get_validation_error_messages()
None found |
has_field( $field_id) : boolean
$field_id |
None found |
get_field( $field_id) : \FormField
$field_id |
None found |
get_fields()
None found |
disable()
None found |
enable()
None found |
is_disabled()
None found |
set_template(\Template $template)
Sets the template to use to display the form. If this method is not called, a default template will be used (<code>/template/default/framework/builder/form/Form.tpl</code>).
\Template | $template | The template to use |
None found |
set_css_class( $css_class)
$css_class |
None found |
display() : \Template
None found |
compute_options(array $options)
array | $options |
None found |
assign_template_fields(\Template $template)
\Template | $template |
None found |
get_template_to_use() : \Template
None found |
get_default_template() : \Template
None found |
$fields :
None found |
$elements :
None found |
$description :
None found |
$id :
None found |
$disabled : boolean
None found |
$validation_error_messages :
None found |
$form_id :
None found |
$css_class :
None found |
$template : \Template
None found |