PHP Interface FOF30\Form\HeaderInterface

Afficher le fichier Open project: akeeba/fof

Méthodes publiques

Méthode Description
setForm ( Form $form ) : FOF30\Form\HeaderInterface Method to attach a Form object to the header.
setup ( SimpleXMLElement $element, string $group = null ) : boolean Method to attach a Form object to the header.

Method Details

setForm() public méthode

Method to attach a Form object to the header.
Since: 2.0
public setForm ( Form $form ) : FOF30\Form\HeaderInterface
$form Form The Form object to attach to the form field.
Résultat FOF30\Form\HeaderInterface The form field object so that the method can be used in a chain.

setup() public méthode

Method to attach a Form object to the header.
public setup ( SimpleXMLElement $element, string $group = null ) : boolean
$element SimpleXMLElement The SimpleXMLElement object representing the
tag for the form header object.
$group string The header name group control value. This acts as as an array container for the header. For example if the header has name="foo" and the group value is set to "bar" then the full header name would end up being "bar[foo]".
Résultat boolean True on success.