Form fieldset.
Form fieldset.
A fieldset acts as a grouping container for a form. You can add controls and to it, and add the fieldset to an AnewtForm instance afterwards.
The label property is required and will be rendered as the <legend> XHTML element. You may also set the description and error properties, which are handled just like form and form control descriptions and error messages.
add_control($control) ¶Add a control to this fieldset.
$controlThe form control instance to add.
add_node($node) ¶Add a custom node to this fieldset.
$nodeAn AnewtXMLDomNode to embed in the form.
$_controls [private] ¶Listing of controls.
$_children [private] ¶Listing of children.
AnewtContainer::_to_array()AnewtContainer::_add()AnewtContainer::delete()AnewtContainer::get()AnewtContainer::_isset()AnewtContainer::_seed()AnewtContainer::setdefault()AnewtContainer::getdefault()AnewtContainer::set()AnewtContainer::__isset()AnewtContainer::__set()AnewtContainer::is_set()AnewtContainer::add()AnewtContainer::_getdefault()AnewtContainer::__unset()AnewtContainer::seed()AnewtContainer::to_array()AnewtContainer::_get()AnewtContainer::__get()AnewtContainer::keys()AnewtContainer::clear()AnewtContainer::_keys()AnewtContainer::_set()