Class

AbstractFormFieldset

Abstract Package: Builder\Form\fieldset Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL ben.popeye@phpboost.com Version: PHPBoost 5.2 - last update: 2016 10 28 Since: PHPBoost 3.0 - 2010 02 16 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: Arnaud GENET elenwii@phpboost.com Located at: builder/form/fieldset/AbstractFormFieldset.class.php
AbstractFormFieldset implements FormFieldset
Indirect known subclasses
FormFieldsetHTMLHeading, FormFieldsetSubmit
Methods summary
public
# __construct( $id, $options = array() )
protected
# compute_options( array & $options )
public
# get_id( )
public
# set_description( $description )
public
public
# add_field( FormField $field )

Store fields in the fieldset.

public
# add_element( FormElement $element )

Adds a form element to the fieldset

public
# set_form_id( string $form_id )

Sets the id prefix for fields

public
# validate( )
public
public
public boolean
# has_field( $field_id )
public FormField
# get_field( $field_id )
public
# get_fields( )
public
# disable( )
public
# enable( )
public
protected
protected Template
abstract protected Template
public
# 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 (

/template/default/framework/builder/form/Form.tpl

).

public
# set_css_class( $css_class )
Methods inherited from HTMLElement
display()
Properties summary
protected array $fields
# array()
protected array $elements
# array()
protected string $description
# ''
protected string $id
# ''
protected boolean $disabled
# false