PHP Интерфейс FOF30\Form\HeaderInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

setForm() публичный Метод

Method to attach a Form object to the header.
С версии: 2.0
public setForm ( Form $form ) : FOF30\Form\HeaderInterface
$form Form The Form object to attach to the form field.
Результат FOF30\Form\HeaderInterface The form field object so that the method can be used in a chain.

setup() публичный Метод

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]".
Результат boolean True on success.